Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def speech2text(audio):
|
|
28 |
return transcription[0].lower() # batch size 1
|
29 |
|
30 |
iface = gr.Interface(
|
31 |
-
fn=
|
32 |
inputs=gr.Audio(source="upload", type="filepath"),
|
33 |
examples=[["example.flac"]],
|
34 |
outputs="text"
|
|
|
28 |
return transcription[0].lower() # batch size 1
|
29 |
|
30 |
iface = gr.Interface(
|
31 |
+
fn=speech2text,
|
32 |
inputs=gr.Audio(source="upload", type="filepath"),
|
33 |
examples=[["example.flac"]],
|
34 |
outputs="text"
|