krishna195 commited on
Commit
aabd36a
·
verified ·
1 Parent(s): 8c40ef6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -13,8 +13,7 @@ model_name = "tts_models/multilingual/multi-dataset/xtts_v2"
13
  #m = ModelManager().download_model(model_name)
14
  #print(m)
15
  m = model_name
16
-
17
- tts = TTS(model_name, gpu=False)
18
  tts.to("cpu") # no GPU or Amd
19
  #tts.to("cuda") # cuda only
20
 
 
13
  #m = ModelManager().download_model(model_name)
14
  #print(m)
15
  m = model_name
16
+ tts = TTS(model_name, gpu=True)
 
17
  tts.to("cpu") # no GPU or Amd
18
  #tts.to("cuda") # cuda only
19