Spaces:
Sleeping
Sleeping
Commit
·
59e6fb8
1
Parent(s):
40ea343
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def greet(htmlString,userQuestion):
|
|
101 |
|
102 |
|
103 |
|
104 |
-
return answerForGradio
|
105 |
|
106 |
|
107 |
|
@@ -118,7 +118,7 @@ iface = gr.Interface(
|
|
118 |
),
|
119 |
gr.inputs.Textbox(lines=3, default="What is the propulsion risk?"),
|
120 |
],
|
121 |
-
outputs="text", title="Test out extractive Question-Answering on a short HTML string"
|
122 |
)
|
123 |
iface.launch()
|
124 |
|
|
|
101 |
|
102 |
|
103 |
|
104 |
+
return answerForGradio, htmlString
|
105 |
|
106 |
|
107 |
|
|
|
118 |
),
|
119 |
gr.inputs.Textbox(lines=3, default="What is the propulsion risk?"),
|
120 |
],
|
121 |
+
outputs=["text","html"], title="Test out extractive Question-Answering on a short HTML string"
|
122 |
)
|
123 |
iface.launch()
|
124 |
|