Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def speech_to_text(audio):
|
|
| 50 |
# Create Gradio interface
|
| 51 |
iface = gr.Interface(
|
| 52 |
fn=speech_to_text,
|
| 53 |
-
inputs=gr.Audio(
|
| 54 |
outputs="text",
|
| 55 |
live=True,
|
| 56 |
title="Speech to Text",
|
|
|
|
| 50 |
# Create Gradio interface
|
| 51 |
iface = gr.Interface(
|
| 52 |
fn=speech_to_text,
|
| 53 |
+
inputs=gr.Audio(type="filepath"),
|
| 54 |
outputs="text",
|
| 55 |
live=True,
|
| 56 |
title="Speech to Text",
|