Download scripts/path_setup.py from OneScience-Group/SaProt: direct link, hf CLI and curl.
- Browser
- Download file 74 Bytes
-
https://huggingface.co/OneScience-Group/SaProt/resolve/main/scripts/path_setup.py
- Command line
-
hf download hf://OneScience-Group/SaProt/scripts/path_setup.py
-
curl -L -o path_setup.py https://huggingface.co/OneScience-Group/SaProt/resolve/main/scripts/path_setup.py
74 Bytes
| import sys | |
| root_dir = __file__.rsplit("/", 1)[0] | |
| sys.path.append(root_dir) |