NeuralFalcon commited on
Commit
78b93f2
·
verified ·
1 Parent(s): 91c27dd

Update download_model.py

Browse files
Files changed (1) hide show
  1. download_model.py +2 -2
download_model.py CHANGED
@@ -37,8 +37,8 @@ def get_voice_models():
37
  """Downloads missing voice models from the Hugging Face repository."""
38
 
39
  # Create or empty the 'voices' directory
40
- if os.path.exists(VOICES_DIR):
41
- shutil.rmtree(VOICES_DIR)
42
  os.makedirs(VOICES_DIR, exist_ok=True)
43
 
44
  # Get list of files from the repository
 
37
  """Downloads missing voice models from the Hugging Face repository."""
38
 
39
  # Create or empty the 'voices' directory
40
+ # if os.path.exists(VOICES_DIR):
41
+ # shutil.rmtree(VOICES_DIR)
42
  os.makedirs(VOICES_DIR, exist_ok=True)
43
 
44
  # Get list of files from the repository