Spaces:
Runtime error
Runtime error
Download api/index.py from BinbomJared/DM-Agent: direct link, hf CLI and curl.
- Browser
- Download file 175 Bytes
-
https://huggingface.co/spaces/BinbomJared/DM-Agent/resolve/main/api/index.py
- Command line
-
hf download hf://spaces/BinbomJared/DM-Agent/api/index.py
-
curl -L -o index.py https://huggingface.co/spaces/BinbomJared/DM-Agent/resolve/main/api/index.py
175 Bytes
| import sys | |
| from pathlib import Path | |
| _root = Path(__file__).resolve().parent.parent | |
| if str(_root) not in sys.path: | |
| sys.path.insert(0, str(_root)) | |
| from src.web import app | |