Spaces:
Runtime error
Runtime error
Download git_sync.py from unique-func/shell-cashflow-datathon-2023: direct link, hf CLI and curl.
- Browser
- Download file 173 Bytes
-
https://huggingface.co/spaces/unique-func/shell-cashflow-datathon-2023/resolve/main/git_sync.py
- Command line
-
hf download hf://spaces/unique-func/shell-cashflow-datathon-2023/git_sync.py
-
curl -L -o git_sync.py https://huggingface.co/spaces/unique-func/shell-cashflow-datathon-2023/resolve/main/git_sync.py
173 Bytes
| import os | |
| os.system(f'git clone https://{os.environ["github_token"]}@github.com/unique-func/shell-cashflow-2023.git tmp && mv tmp/.git . && rm -rf tmp && git reset --hard') | |