Tonic commited on
Commit
0497013
1 Parent(s): 53ded4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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", optional=True)
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", optional=True)
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=5, optional=True)
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")