Spaces:
Runtime error
Runtime error
Download goodpath.py from aashraychegu/aRockyBot: direct link, hf CLI and curl.
- Browser
- Download file 173 Bytes
-
https://huggingface.co/spaces/aashraychegu/aRockyBot/resolve/main/goodpath.py
- Command line
-
hf download hf://spaces/aashraychegu/aRockyBot/goodpath.py
-
curl -L -o goodpath.py https://huggingface.co/spaces/aashraychegu/aRockyBot/resolve/main/goodpath.py
173 Bytes
| import pathlib as pl | |
| def root_path_as_plPath(): | |
| return (pl.Path(__file__).parent.resolve()) | |
| def root_path_as_str(): | |
| return str(pl.Path(__file__).parent.resolve()) | |