Spaces:
Running
Running
Update download_model.py
Browse files- download_model.py +1 -0
download_model.py
CHANGED
|
@@ -12,6 +12,7 @@ os.makedirs(cache_dir, exist_ok=True)
|
|
| 12 |
def get_voice_models():
|
| 13 |
# Ensure the 'voices' directory exists
|
| 14 |
voices_dir = './KOKORO/voices'
|
|
|
|
| 15 |
# Get the list of all files
|
| 16 |
files = list_repo_files(repo_id)
|
| 17 |
|
|
|
|
| 12 |
def get_voice_models():
|
| 13 |
# Ensure the 'voices' directory exists
|
| 14 |
voices_dir = './KOKORO/voices'
|
| 15 |
+
os.makedirs(VOICES_DIR, exist_ok=True)
|
| 16 |
# Get the list of all files
|
| 17 |
files = list_repo_files(repo_id)
|
| 18 |
|