vmoras commited on
Commit
0a574e0
1 Parent(s): 4df6e8a

Fix folder paths

Browse files
Files changed (1) hide show
  1. 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("../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.")
 
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.")