Upload hfhub.py with huggingface_hub
Browse files
hfhub.py
CHANGED
|
@@ -29,7 +29,7 @@ hf_api.upload_file(
|
|
| 29 |
ckpt_filepath = hf_hub_download(
|
| 30 |
repo_id=repo_name,
|
| 31 |
repo_type="model",
|
| 32 |
-
cache_dir=Path(repo_dir),
|
| 33 |
resume_download=True,
|
| 34 |
# subfolder="checkpoints",
|
| 35 |
filename="hfhub.py",
|
|
|
|
| 29 |
ckpt_filepath = hf_hub_download(
|
| 30 |
repo_id=repo_name,
|
| 31 |
repo_type="model",
|
| 32 |
+
# cache_dir=Path(repo_dir),
|
| 33 |
resume_download=True,
|
| 34 |
# subfolder="checkpoints",
|
| 35 |
filename="hfhub.py",
|