Spaces:
Sleeping
Sleeping
Download hosting.py from Narendranh/predictive_deployment: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/spaces/Narendranh/predictive_deployment/resolve/main/hosting.py
- Command line
-
hf download hf://spaces/Narendranh/predictive_deployment/hosting.py
-
curl -L -o hosting.py https://huggingface.co/spaces/Narendranh/predictive_deployment/resolve/main/hosting.py
250 Bytes
| from huggingface_hub import HfApi | |
| import os | |
| api = HfApi(token=os.getenv("HF_TOKEN")) | |
| api.upload_folder( | |
| folder_path="Narendran_Predictive/deployment", | |
| repo_id="Narendranh/predictive_deployment", | |
| repo_type="space", | |
| path_in_repo="", | |
| ) | |