anyantudre commited on
Commit
b708820
1 Parent(s): 5777e51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ demo = gr.Blocks()
14
  goai_stt = gr.Interface(
15
  fn = goai_stt.goai_stt,
16
  inputs=[
17
- gr.Audio(sources=["microphone", "upload"], type="filepath")
18
  ],
19
  outputs="text",
20
  title="Speech-to-text"
 
14
  goai_stt = gr.Interface(
15
  fn = goai_stt.goai_stt,
16
  inputs=[
17
+ gr.Audio(sources=["microphone", "upload"], type="numpy")
18
  ],
19
  outputs="text",
20
  title="Speech-to-text"