xpsychted commited on
Commit
6b605e1
1 Parent(s): 67d2eac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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"