euIaxs22 commited on
Commit
5b6f9a3
·
verified ·
1 Parent(s): 4697d29

Update services/vincie.py

Browse files
Files changed (1) hide show
  1. 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