Spaces:
Paused
Paused
Update services/vincie.py
Browse files- services/vincie.py +0 -2
services/vincie.py
CHANGED
|
@@ -92,10 +92,8 @@ class VincieService:
|
|
| 92 |
cache_dir = os.environ.get("HF_HUB_CACHE")
|
| 93 |
snapshot_path = snapshot_download(
|
| 94 |
repo_id=self.model_repo,
|
| 95 |
-
revision=revision,
|
| 96 |
token=token or os.getenv("HF_TOKEN") or os.getenv("HUGGINGFACE_TOKEN"),
|
| 97 |
cache_dir=cache_dir,
|
| 98 |
-
resume_download=True,
|
| 99 |
)
|
| 100 |
self.ckpt_dir = Path(snapshot_path)
|
| 101 |
# symlinks idempotentes
|
|
|
|
| 92 |
cache_dir = os.environ.get("HF_HUB_CACHE")
|
| 93 |
snapshot_path = snapshot_download(
|
| 94 |
repo_id=self.model_repo,
|
|
|
|
| 95 |
token=token or os.getenv("HF_TOKEN") or os.getenv("HUGGINGFACE_TOKEN"),
|
| 96 |
cache_dir=cache_dir,
|
|
|
|
| 97 |
)
|
| 98 |
self.ckpt_dir = Path(snapshot_path)
|
| 99 |
# symlinks idempotentes
|