update
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def ensure_models_downloaded():
|
|
| 46 |
for variant, model_cfg in all_model_cfg.items():
|
| 47 |
if not model_cfg.model_path.exists():
|
| 48 |
log.info(f'Model {variant} not found, downloading...')
|
| 49 |
-
snapshot_download(repo_id="AndreasXi/MeanAudio", local_dir="./weights"
|
| 50 |
break
|
| 51 |
|
| 52 |
def load_model_if_needed(variant: str):
|
|
|
|
| 46 |
for variant, model_cfg in all_model_cfg.items():
|
| 47 |
if not model_cfg.model_path.exists():
|
| 48 |
log.info(f'Model {variant} not found, downloading...')
|
| 49 |
+
snapshot_download(repo_id="AndreasXi/MeanAudio", local_dir="./weights")
|
| 50 |
break
|
| 51 |
|
| 52 |
def load_model_if_needed(variant: str):
|