Spaces:
Sleeping
Sleeping
Remove source="upload"
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def transcribe_audio(audio_file):
|
|
| 36 |
|
| 37 |
with gr.Blocks() as demo:
|
| 38 |
with gr.Row():
|
| 39 |
-
audio_input = gr.Audio(
|
| 40 |
|
| 41 |
transcribe_button = gr.Button("Transcribe")
|
| 42 |
transcription_output = gr.Textbox(label="Transcription")
|
|
|
|
| 36 |
|
| 37 |
with gr.Blocks() as demo:
|
| 38 |
with gr.Row():
|
| 39 |
+
audio_input = gr.Audio(type="filepath", label="Upload or Record Audio")
|
| 40 |
|
| 41 |
transcribe_button = gr.Button("Transcribe")
|
| 42 |
transcription_output = gr.Textbox(label="Transcription")
|