nfi commited on
Commit
5e80b48
·
1 Parent(s): 5c38f78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -42,6 +42,7 @@ with gr.Blocks() as demo:
42
 
43
  gender = gr.Textbox(label="What is your gender?")
44
  symptoms = gr.Textbox(label="Symptoms")
 
45
  complaint_btn = gr.Button("Respond")
46
  response = complaint_btn.click(fn=respond_like_doctor, inputs= [gender, symptoms], outputs=output)
47
  print(response)
 
42
 
43
  gender = gr.Textbox(label="What is your gender?")
44
  symptoms = gr.Textbox(label="Symptoms")
45
+ output = gr.Textbox(label="Diagnosis")
46
  complaint_btn = gr.Button("Respond")
47
  response = complaint_btn.click(fn=respond_like_doctor, inputs= [gender, symptoms], outputs=output)
48
  print(response)