jerrybwang commited on
Commit ·
c348eb5
1
Parent(s): cdf446f
--other sds
Browse files
app.py
CHANGED
|
@@ -103,13 +103,6 @@ def load_cosyvoice_model():
|
|
| 103 |
cosyvoice_model = None
|
| 104 |
model_loaded = True
|
| 105 |
return None
|
| 106 |
-
|
| 107 |
-
except Exception as e:
|
| 108 |
-
print(f"\n✗ 模型加载过程出错: {str(e)}")
|
| 109 |
-
print("="*60 + "\n")
|
| 110 |
-
cosyvoice_model = None
|
| 111 |
-
model_loaded = True
|
| 112 |
-
return None
|
| 113 |
|
| 114 |
def process_audio(audio_file):
|
| 115 |
"""处理音频文件 - 语音识别"""
|
|
|
|
| 103 |
cosyvoice_model = None
|
| 104 |
model_loaded = True
|
| 105 |
return None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
|
| 107 |
def process_audio(audio_file):
|
| 108 |
"""处理音频文件 - 语音识别"""
|