Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -192,9 +192,11 @@ def request_answer(query):
|
|
192 |
demo = gr.Interface(
|
193 |
fn=request_answer,
|
194 |
inputs=[
|
195 |
-
gr.components.Textbox(label="User question"),
|
|
|
|
|
|
|
196 |
],
|
197 |
-
outputs=["text"],
|
198 |
cache_examples=True,
|
199 |
title="MedQA assistant",
|
200 |
#description="MedQA assistant"
|
|
|
192 |
demo = gr.Interface(
|
193 |
fn=request_answer,
|
194 |
inputs=[
|
195 |
+
gr.components.Textbox(label="User question(Response may take up to 2 mins because of hardware limitation)"),
|
196 |
+
],
|
197 |
+
output=[
|
198 |
+
gr.components.Textbox(label="Output (The answer is meant as a reference and not actual advice)"),
|
199 |
],
|
|
|
200 |
cache_examples=True,
|
201 |
title="MedQA assistant",
|
202 |
#description="MedQA assistant"
|