Spaces:
Build error
Build error
krishna195
commited on
Update app.py
Browse files
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 |
|