aditii09 commited on
Commit
47b4091
1 Parent(s): 84aabf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=audio_to_text,
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"