Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -610,14 +610,15 @@ def create_interface():
|
|
| 610 |
["구강 헤르페스의 적절한 치료법은 무엇입니까?"],
|
| 611 |
["Je, ni matibabu gani sahihi kwa herpes ya buccal?"],
|
| 612 |
],inputs=[text_input])
|
|
|
|
|
|
|
|
|
|
| 613 |
|
| 614 |
text_button = gr.Button("Use MultiMed")
|
| 615 |
text_button.click(process_and_query, inputs=[input_language, audio_input, image_input, text_input], outputs=[text_output, audio_output])
|
| 616 |
|
| 617 |
clear_button = gr.Button("Clear")
|
| 618 |
clear_button.click(clear, inputs=[], outputs=[input_language, audio_input, image_input, text_output, audio_output])
|
| 619 |
-
text_output = gr.Markdown(label="MultiMed")
|
| 620 |
-
audio_output = gr.Audio(label="Audio Out", type="filepath")
|
| 621 |
|
| 622 |
return iface
|
| 623 |
|
|
|
|
| 610 |
["구강 헤르페스의 적절한 치료법은 무엇입니까?"],
|
| 611 |
["Je, ni matibabu gani sahihi kwa herpes ya buccal?"],
|
| 612 |
],inputs=[text_input])
|
| 613 |
+
|
| 614 |
+
text_output = gr.Markdown(label="MultiMed")
|
| 615 |
+
audio_output = gr.Audio(label="Audio Out", type="filepath")
|
| 616 |
|
| 617 |
text_button = gr.Button("Use MultiMed")
|
| 618 |
text_button.click(process_and_query, inputs=[input_language, audio_input, image_input, text_input], outputs=[text_output, audio_output])
|
| 619 |
|
| 620 |
clear_button = gr.Button("Clear")
|
| 621 |
clear_button.click(clear, inputs=[], outputs=[input_language, audio_input, image_input, text_output, audio_output])
|
|
|
|
|
|
|
| 622 |
|
| 623 |
return iface
|
| 624 |
|