not-lain commited on
Commit
cdd9d34
1 Parent(s): 43feca4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -215,7 +215,7 @@ def generate(audio_path, ins, speed, alpha, beta, embedding, steps=200):
215
 
216
  other_tts = tts.StyleTTS2(model_checkpoint_path='./epoch_2nd_00012.pth', config_path="models/config_ft.yml")
217
  if torch.cuda.is_available():
218
- other_tts.devuce = "cuda"
219
  else:
220
  other_tts.device = "cpu"
221
 
 
215
 
216
  other_tts = tts.StyleTTS2(model_checkpoint_path='./epoch_2nd_00012.pth', config_path="models/config_ft.yml")
217
  if torch.cuda.is_available():
218
+ other_tts.device = "cuda"
219
  else:
220
  other_tts.device = "cpu"
221