Download app/utils.py from yiset/hfdeploy: direct link, hf CLI and curl.
- Browser
- Download file 106 Bytes
-
https://huggingface.co/spaces/yiset/hfdeploy/resolve/main/app/utils.py
- Command line
-
hf download hf://spaces/yiset/hfdeploy/app/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/yiset/hfdeploy/resolve/main/app/utils.py
106 Bytes
| import os, stat | |
| def _chmod_and_retry(func, path, exc): | |
| os.chmod(path, stat.S_IWRITE) | |
| func(path) | |