Download safelibero/scripts/init_path.py from THURCSCT/SafeLIBERO: direct link, hf CLI and curl.
- Browser
- Download file 119 Bytes
-
https://huggingface.co/datasets/THURCSCT/SafeLIBERO/resolve/main/safelibero/scripts/init_path.py
- Command line
-
hf download hf://datasets/THURCSCT/SafeLIBERO/safelibero/scripts/init_path.py
-
curl -L -o init_path.py https://huggingface.co/datasets/THURCSCT/SafeLIBERO/resolve/main/safelibero/scripts/init_path.py
119 Bytes
| import sys | |
| import os | |
| path = os.path.dirname(os.path.realpath(__file__)) | |
| sys.path.insert(0, os.path.join(path, "../")) | |