mobinln commited on
Commit
2f14b50
·
1 Parent(s): beb6d30

fix: audio interface

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -40,9 +40,8 @@ def transcribe(audio):
40
  # )
41
  demo = gr.Interface(
42
  transcribe,
43
- gr.Audio(sources=["microphone"]),
44
- "text",
45
- type="filepath"
46
  )
47
 
48
  if __name__ == "__main__":
 
40
  # )
41
  demo = gr.Interface(
42
  transcribe,
43
+ gr.Audio(sources=["microphone"], type="filepath"),
44
+ "text"
 
45
  )
46
 
47
  if __name__ == "__main__":