Upload hfhub.py with huggingface_hub
Browse files
hfhub.py
CHANGED
|
@@ -22,6 +22,7 @@ repo_url = hf_api.create_repo(
|
|
| 22 |
)
|
| 23 |
print(repo_url)
|
| 24 |
repo_path = "/".join(repo_url.split("/")[-2:])
|
|
|
|
| 25 |
|
| 26 |
hf_api.upload_file(
|
| 27 |
repo_id=repo_path,
|
|
|
|
| 22 |
)
|
| 23 |
print(repo_url)
|
| 24 |
repo_path = "/".join(repo_url.split("/")[-2:])
|
| 25 |
+
print(repo_path)
|
| 26 |
|
| 27 |
hf_api.upload_file(
|
| 28 |
repo_id=repo_path,
|