Download app/run.py from manbeast3b/testing986: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/manbeast3b/testing986/resolve/main/app/run.py
- Command line
-
hf download hf://manbeast3b/testing986/app/run.py
-
curl -L -o run.py https://huggingface.co/manbeast3b/testing986/resolve/main/app/run.py
228 Bytes
| import sys | |
| from pathlib import Path | |
| # Add parent directory to PYTHONPATH | |
| sys.path.append(str(Path(__file__).resolve().parent.parent)) | |
| from app import ModelAPI | |
| api = ModelAPI( | |
| host = "0.0.0.0", | |
| port = 6500 | |
| ) | |
| api.run() |