EwoutLagendijk
commited on
Commit
•
0fa00fd
1
Parent(s):
87c7dbc
Update app.py
Browse files
app.py
CHANGED
@@ -62,13 +62,13 @@ demo = gr.Blocks()
|
|
62 |
mic_transcribe = gr.Interface(
|
63 |
fn=transcribe_speech,
|
64 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
65 |
-
outputs=gr.Textbox(lines=10, label="
|
66 |
)
|
67 |
|
68 |
file_transcribe = gr.Interface(
|
69 |
fn=transcribe_speech,
|
70 |
inputs=gr.Audio(sources="upload", type="filepath"),
|
71 |
-
outputs=gr.Textbox(lines=10, label="
|
72 |
)
|
73 |
|
74 |
with demo:
|
|
|
62 |
mic_transcribe = gr.Interface(
|
63 |
fn=transcribe_speech,
|
64 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
65 |
+
outputs=gr.Textbox(lines=10, label="Microphone output"),
|
66 |
)
|
67 |
|
68 |
file_transcribe = gr.Interface(
|
69 |
fn=transcribe_speech,
|
70 |
inputs=gr.Audio(sources="upload", type="filepath"),
|
71 |
+
outputs=gr.Textbox(lines=10, label="File output"),
|
72 |
)
|
73 |
|
74 |
with demo:
|