Download main.py from Abhisingh-18/HunterAI: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/Abhisingh-18/HunterAI/resolve/main/main.py
- Command line
-
hf download hf://Abhisingh-18/HunterAI/main.py
-
curl -L -o main.py https://huggingface.co/Abhisingh-18/HunterAI/resolve/main/main.py
273 Bytes
| import sys | |
| import os | |
| import uvicorn | |
| # Fix path to allow imports from backend folder | |
| sys.path.append(os.path.join(os.path.dirname(__file__), "backend")) | |
| from hunter_backend import app | |
| if __name__ == "__main__": | |
| uvicorn.run(app, host="0.0.0.0", port=10000) | |