Spaces:
Sleeping
Sleeping
thepianist9
commited on
Commit
•
1b956ad
1
Parent(s):
030d69f
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,8 @@ length_of_audio = 5
|
|
60 |
def Asr(audio):
|
61 |
try:
|
62 |
question = asr.transcribe(audio)
|
63 |
-
|
|
|
64 |
except Exception as e:
|
65 |
print("ASR Error: ", e)
|
66 |
question = 'Gradio存在一些bug,麦克风模式有时候可能音频还未传入,请重新点击一下语音识别即可'
|
|
|
60 |
def Asr(audio):
|
61 |
try:
|
62 |
question = asr.transcribe(audio)
|
63 |
+
print(question)
|
64 |
+
|
65 |
except Exception as e:
|
66 |
print("ASR Error: ", e)
|
67 |
question = 'Gradio存在一些bug,麦克风模式有时候可能音频还未传入,请重新点击一下语音识别即可'
|