Spaces:
Running
on
Zero
Running
on
Zero
test app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def tts_inference(model_choice, text, prompt_audio):
|
|
48 |
else:
|
49 |
return None, "未知模型"
|
50 |
|
51 |
-
model.
|
52 |
|
53 |
# 繁简转换
|
54 |
text = converter.convert(text)
|
|
|
48 |
else:
|
49 |
return None, "未知模型"
|
50 |
|
51 |
+
model.cuda()
|
52 |
|
53 |
# 繁简转换
|
54 |
text = converter.convert(text)
|