Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def transcribe_speech(audio):
|
|
38 |
# Define the Gradio interface
|
39 |
interface = gr.Interface(
|
40 |
fn=transcribe_speech,
|
41 |
-
inputs=gr.Audio(
|
42 |
outputs="text",
|
43 |
live=True,
|
44 |
)
|
|
|
38 |
# Define the Gradio interface
|
39 |
interface = gr.Interface(
|
40 |
fn=transcribe_speech,
|
41 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
42 |
outputs="text",
|
43 |
live=True,
|
44 |
)
|