ahmetdogan47 commited on
Commit
a6f725c
·
verified ·
1 Parent(s): f4f6097

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,5 +8,5 @@ def func(audio_):
8
  val=listen_client.automatic_speech_recognition(audio_).text
9
  return val
10
 
11
- gr.Interface(fn=func, inputs=gr.Audio(sources=["microphone"]), outputs=gr.Text()).launch()
12
 
 
8
  val=listen_client.automatic_speech_recognition(audio_).text
9
  return val
10
 
11
+ gr.Interface(fn=func, inputs=gr.Audio(sources=["microphone"], type="filepath"), outputs=gr.Text()).launch()
12