Spaces:
Runtime error
Runtime error
jasper9w
commited on
Commit
•
bd6160e
1
Parent(s):
16417a9
更新录音方式
Browse files
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='
|
|
|
10 |
def gradio_asr(test_file):
|
11 |
return asr(test_file.name)
|
12 |
|
13 |
+
gr.Interface(fn=gradio_asr, inputs='microphone', outputs='text').launch()
|