Spaces:
Runtime error
Runtime error
Fix folder paths
Browse files- services/audio_model.py +2 -2
services/audio_model.py
CHANGED
@@ -45,8 +45,8 @@ def download_model():
|
|
45 |
'vocab.json': 'https://huggingface.co/coqui/XTTS-v2/resolve/v2.0.2/vocab.json?download=true',
|
46 |
}
|
47 |
|
48 |
-
if not os.path.exists("
|
49 |
-
os.makedirs("
|
50 |
|
51 |
# Download files if they don't exist
|
52 |
print("[COQUI TTS] STARTUP: Checking Model is Downloaded.")
|
|
|
45 |
'vocab.json': 'https://huggingface.co/coqui/XTTS-v2/resolve/v2.0.2/vocab.json?download=true',
|
46 |
}
|
47 |
|
48 |
+
if not os.path.exists("tts_model"):
|
49 |
+
os.makedirs("tts_model")
|
50 |
|
51 |
# Download files if they don't exist
|
52 |
print("[COQUI TTS] STARTUP: Checking Model is Downloaded.")
|