Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -571,7 +571,7 @@ def create_interface():
|
|
571 |
input_language = gr.Dropdown(input_language_options, label="Select the language", value="English", interactive=True)
|
572 |
|
573 |
with gr.Accordion("Use Voice", open=False) as voice_accordion:
|
574 |
-
audio_input = gr.Audio(label="Speak", type="filepath", sources="microphone", examples=["audio1.
|
575 |
audio_output = gr.Markdown(label="Output text") # Markdown component for audio
|
576 |
|
577 |
with gr.Accordion("Use a Picture", open=False) as picture_accordion:
|
|
|
571 |
input_language = gr.Dropdown(input_language_options, label="Select the language", value="English", interactive=True)
|
572 |
|
573 |
with gr.Accordion("Use Voice", open=False) as voice_accordion:
|
574 |
+
audio_input = gr.Audio(label="Speak", type="filepath", sources="microphone", examples=["audio1.m4a", "audio2.m4a"])
|
575 |
audio_output = gr.Markdown(label="Output text") # Markdown component for audio
|
576 |
|
577 |
with gr.Accordion("Use a Picture", open=False) as picture_accordion:
|