Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -584,15 +584,15 @@ def create_interface():
|
|
584 |
input_language = gr.Dropdown(input_language_options, label="Select the language", value="None", interactive=True)
|
585 |
|
586 |
with gr.Accordion("Use Voice", open=False) as voice_accordion:
|
587 |
-
audio_input = gr.Audio(label="Speak", type="filepath", sources="microphone"
|
588 |
audio_output = gr.Markdown(label="Output text")
|
589 |
|
590 |
with gr.Accordion("Use a Picture", open=False) as picture_accordion:
|
591 |
-
image_input = gr.Image(label="Upload image"
|
592 |
image_output = gr.Markdown(label="Output text")
|
593 |
|
594 |
with gr.Accordion("MultiMed", open=False) as multimend_accordion:
|
595 |
-
text_input = gr.Textbox(label="Use Text", lines=
|
596 |
text_output = gr.Markdown(label="Output text")
|
597 |
|
598 |
text_button = gr.Button("Use MultiMed")
|
|
|
584 |
input_language = gr.Dropdown(input_language_options, label="Select the language", value="None", interactive=True)
|
585 |
|
586 |
with gr.Accordion("Use Voice", open=False) as voice_accordion:
|
587 |
+
audio_input = gr.Audio(label="Speak", type="filepath", sources="microphone")
|
588 |
audio_output = gr.Markdown(label="Output text")
|
589 |
|
590 |
with gr.Accordion("Use a Picture", open=False) as picture_accordion:
|
591 |
+
image_input = gr.Image(label="Upload image")
|
592 |
image_output = gr.Markdown(label="Output text")
|
593 |
|
594 |
with gr.Accordion("MultiMed", open=False) as multimend_accordion:
|
595 |
+
text_input = gr.Textbox(label="Use Text", lines=3)
|
596 |
text_output = gr.Markdown(label="Output text")
|
597 |
|
598 |
text_button = gr.Button("Use MultiMed")
|