Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
60 |
|
61 |
with gr.Tab("Microphone Input"):
|
62 |
gr.Markdown("## Transcribe speech from microphone")
|
63 |
-
mic_audio = gr.Audio(sources=['
|
64 |
transcribe_button = gr.Button("Transcribe")
|
65 |
transcription_output = gr.Textbox(label="Transcription")
|
66 |
|
|
|
60 |
|
61 |
with gr.Tab("Microphone Input"):
|
62 |
gr.Markdown("## Transcribe speech from microphone")
|
63 |
+
mic_audio = gr.Audio(sources=['microphone','upload'], type="filepath", label="Record or upload an audio")
|
64 |
transcribe_button = gr.Button("Transcribe")
|
65 |
transcription_output = gr.Textbox(label="Transcription")
|
66 |
|