Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ url_demo = gr.Interface(
|
|
34 |
|
35 |
voice_demo = gr.Interface(
|
36 |
fn=transcribe,
|
37 |
-
inputs=gr.Audio(
|
38 |
outputs=[gr.Textbox(label="Transcribed text"),
|
39 |
gr.Textbox(label="English translation")],
|
40 |
title="Italian recorded speech to english text",
|
|
|
34 |
|
35 |
voice_demo = gr.Interface(
|
36 |
fn=transcribe,
|
37 |
+
inputs=gr.Audio(sources=["microphone"], type="filepath"),
|
38 |
outputs=[gr.Textbox(label="Transcribed text"),
|
39 |
gr.Textbox(label="English translation")],
|
40 |
title="Italian recorded speech to english text",
|