Download upload_2.py from lighta/InSARDLPU: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/datasets/lighta/InSARDLPU/resolve/main/upload_2.py
- Command line
-
hf download hf://datasets/lighta/InSARDLPU/upload_2.py
-
curl -L -o upload_2.py https://huggingface.co/datasets/lighta/InSARDLPU/resolve/main/upload_2.py
226 Bytes
| from huggingface_hub import login, upload_folder | |
| # (optional) Login with your Hugging Face credentials | |
| login() | |
| # Push your dataset files | |
| upload_folder(folder_path=".", repo_id="lighta/InSARDLPU", repo_type="dataset") | |