Spaces:
Sleeping
Sleeping
Test changing to sources instead
Browse files
app.py
CHANGED
@@ -64,8 +64,8 @@ with gr.Blocks() as demo:
|
|
64 |
)
|
65 |
with gr.Row():
|
66 |
with gr.Column():
|
67 |
-
audio_mic = gr.Audio(
|
68 |
-
audio_file = gr.Audio(
|
69 |
with gr.Column():
|
70 |
text_output = gr.Textbox(label="Transcription Output")
|
71 |
transcribe_btn = gr.Button("Transcribe")
|
|
|
64 |
)
|
65 |
with gr.Row():
|
66 |
with gr.Column():
|
67 |
+
audio_mic = gr.Audio(sources=["microphone"], type="filepath", label="Microphone Input")
|
68 |
+
audio_file = gr.Audio(sources=["upload"], type="filepath", label="Audio File Upload")
|
69 |
with gr.Column():
|
70 |
text_output = gr.Textbox(label="Transcription Output")
|
71 |
transcribe_btn = gr.Button("Transcribe")
|