gz412 commited on
Commit
d8082b6
·
1 Parent(s): 1dfc874

test app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def tts_inference(model_choice, text, prompt_audio):
48
  else:
49
  return None, "未知模型"
50
 
51
- model.eval().cuda()
52
 
53
  # 繁简转换
54
  text = converter.convert(text)
 
48
  else:
49
  return None, "未知模型"
50
 
51
+ model.cuda()
52
 
53
  # 繁简转换
54
  text = converter.convert(text)