Spaces:
Build error
Build error
Olivier-Truong
commited on
Commit
•
ee41509
1
Parent(s):
74d134e
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,9 @@ from TTS.api import TTS
|
|
10 |
model_names = TTS().list_models()
|
11 |
print(model_names.__dict__)
|
12 |
print(model_names.__dir__())
|
13 |
-
|
|
|
|
|
14 |
|
15 |
tts = TTS(m, gpu=False)
|
16 |
tts.to("cpu") # no GPU or Amd
|
|
|
10 |
model_names = TTS().list_models()
|
11 |
print(model_names.__dict__)
|
12 |
print(model_names.__dir__())
|
13 |
+
model_name = "tts_models/multilingual/multi-dataset/xtts_v2"
|
14 |
+
m = ModelManager().download_model(model_name)
|
15 |
+
#m = model_names[0]
|
16 |
|
17 |
tts = TTS(m, gpu=False)
|
18 |
tts.to("cpu") # no GPU or Amd
|