Spaces:
Runtime error
Runtime error
Download filepaths.py from pikaduck/DungeonMaster: direct link, hf CLI and curl.
- Browser
- Download file 230 Bytes
-
https://huggingface.co/spaces/pikaduck/DungeonMaster/resolve/main/filepaths.py
- Command line
-
hf download hf://spaces/pikaduck/DungeonMaster/filepaths.py
-
curl -L -o filepaths.py https://huggingface.co/spaces/pikaduck/DungeonMaster/resolve/main/filepaths.py
230 Bytes
| import os | |
| PROJECT_DIR = os.path.split(__file__)[0] | |
| print(f'PROJECT_DIR : {PROJECT_DIR}') | |
| ASSETS = os.path.join(PROJECT_DIR, 'assets') | |
| LOGO_PATH = os.path.join(ASSETS, 'logo.jpg') | |
| POSTER_PATH = os.path.join(ASSETS, 'poster.jpg') |