Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import soundfile as sf
|
|
9 |
# asr_model = hub.Module(name='u2_conformer_aishell')
|
10 |
asr_executor = ASRExecutor()
|
11 |
text_correct_model = Taskflow("text_correction")
|
12 |
-
punc_model = hub.Module(name='
|
13 |
|
14 |
|
15 |
def speech_recognize(file):
|
|
|
9 |
# asr_model = hub.Module(name='u2_conformer_aishell')
|
10 |
asr_executor = ASRExecutor()
|
11 |
text_correct_model = Taskflow("text_correction")
|
12 |
+
punc_model = hub.Module(name='auto_punc')
|
13 |
|
14 |
|
15 |
def speech_recognize(file):
|