jasper9w commited on
Commit
bd6160e
1 Parent(s): 16417a9

更新录音方式

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,4 +10,4 @@ def asr(test_file):
10
  def gradio_asr(test_file):
11
  return asr(test_file.name)
12
 
13
- gr.Interface(fn=gradio_asr, inputs='file', outputs='text').launch()
 
10
  def gradio_asr(test_file):
11
  return asr(test_file.name)
12
 
13
+ gr.Interface(fn=gradio_asr, inputs='microphone', outputs='text').launch()