Spaces:
Running on Zero
Running on Zero
Delete push_to_hf.py
Browse files- push_to_hf.py +0 -14
push_to_hf.py
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
from huggingface_hub import HfApi
|
| 2 |
-
|
| 3 |
-
api = HfApi()
|
| 4 |
-
|
| 5 |
-
# Upload the entire repository folder, including datasets
|
| 6 |
-
api.upload_folder(
|
| 7 |
-
folder_path=".", # Path to your local PoC_v1 folder
|
| 8 |
-
repo_id="ageraustine/River_Network", # Your Hugging Face Space ID
|
| 9 |
-
repo_type="space",
|
| 10 |
-
# If there are files/folders you want to exclude from the upload, list them here:
|
| 11 |
-
ignore_patterns=[".git*", ".venv*", "__pycache__/*", "data_manager/*", "GUIDE-DS/*", "instructions/*", "outputs/*"]
|
| 12 |
-
)
|
| 13 |
-
|
| 14 |
-
print("Successfully uploaded to Hugging Face Space!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|