Update app.py
Browse files
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)
|