Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ with gr.Blocks() as demo:
|
|
42 |
|
43 |
with gr.Row():
|
44 |
with gr.Column():
|
45 |
-
microphone = gr.Audio(
|
46 |
-
uploaded_audio = gr.Audio(label="Upload Audio File", type="filepath")
|
47 |
|
48 |
with gr.Column():
|
49 |
transcription = gr.Textbox(type="text", label="Transcription")
|
|
|
42 |
|
43 |
with gr.Row():
|
44 |
with gr.Column():
|
45 |
+
microphone = gr.Audio(sources="microphone", type="filepath", label="Microphone")
|
46 |
+
uploaded_audio = gr.Audio(label="Upload Audio File", type="filepath",sources="upload")
|
47 |
|
48 |
with gr.Column():
|
49 |
transcription = gr.Textbox(type="text", label="Transcription")
|