Spaces:
Sleeping
Sleeping
RedSparkie
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,12 +20,12 @@ from TTS.tts.models.xtts import Xtts
|
|
20 |
|
21 |
os.environ["COQUI_TOS_AGREED"] = "1"
|
22 |
|
23 |
-
device = "
|
24 |
|
25 |
-
tts = TTS("RedSparkie/
|
26 |
-
model_path = '/
|
27 |
-
config_path = '/
|
28 |
-
vocab_path = '/
|
29 |
|
30 |
|
31 |
def clear_gpu_cache():
|
|
|
20 |
|
21 |
os.environ["COQUI_TOS_AGREED"] = "1"
|
22 |
|
23 |
+
device = "cpu"
|
24 |
|
25 |
+
tts = TTS("RedSparkie/danielmula").to(device)
|
26 |
+
model_path = 'RedSparkie/danielmula/model.pth'
|
27 |
+
config_path = 'RedSparkie/danielmula/config.json'
|
28 |
+
vocab_path = 'RedSparkie/danielmula/vocab.json'
|
29 |
|
30 |
|
31 |
def clear_gpu_cache():
|