Download __init__.py from SfaxWare/README: direct link, hf CLI and curl.
- Browser
- Download file 196 Bytes
-
https://huggingface.co/spaces/SfaxWare/README/resolve/main/__init__.py
- Command line
-
hf download hf://spaces/SfaxWare/README/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/SfaxWare/README/resolve/main/__init__.py
196 Bytes
| #!/usr/bin/env python3 | |
| # vim: set fileencoding=utf-8 | |
| from os.path import dirname, realpath | |
| import sys | |
| rootDir = dirname(realpath(__file__)) | |
| if not rootDir in sys.path: | |
| sys.path.append(rootDir) | |