Download modules/paths.py from Mightys/Fix_Forge_neo: direct link, hf CLI and curl.
- Browser
- Download file 230 Bytes
-
https://huggingface.co/datasets/Mightys/Fix_Forge_neo/resolve/main/modules/paths.py
- Command line
-
hf download hf://datasets/Mightys/Fix_Forge_neo/modules/paths.py
-
curl -L -o paths.py https://huggingface.co/datasets/Mightys/Fix_Forge_neo/resolve/main/modules/paths.py
230 Bytes
| import os | |
| import sys | |
| from modules.paths_internal import models_path, script_path, data_path, extensions_dir, extensions_builtin_dir, cwd # noqa: F401 | |
| sys.path.insert(0, script_path) | |
| sd_path = os.path.dirname(__file__) | |