Spaces:
Paused
Paused
Update download_models.py
Browse files- download_models.py +2 -2
download_models.py
CHANGED
|
@@ -27,8 +27,8 @@ def download_repo_snapshot(repo_id, local_dir, desc, allow_patterns=None):
|
|
| 27 |
snapshot_download(
|
| 28 |
repo_id=repo_id,
|
| 29 |
local_dir=local_dir,
|
| 30 |
-
local_dir_use_symlinks=False,
|
| 31 |
-
resume_download=True,
|
| 32 |
allow_patterns=allow_patterns,
|
| 33 |
ignore_patterns=["*.md", "*.txt", "*.gitattributes", "*onnx*", "*fp32*"], # Ignora arquivos desnecessários
|
| 34 |
)
|
|
|
|
| 27 |
snapshot_download(
|
| 28 |
repo_id=repo_id,
|
| 29 |
local_dir=local_dir,
|
| 30 |
+
#local_dir_use_symlinks=False,
|
| 31 |
+
#resume_download=True,
|
| 32 |
allow_patterns=allow_patterns,
|
| 33 |
ignore_patterns=["*.md", "*.txt", "*.gitattributes", "*onnx*", "*fp32*"], # Ignora arquivos desnecessários
|
| 34 |
)
|