Spaces:
Sleeping
Sleeping
Download app.py from InduwaraR/Interest_Predictions: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/InduwaraR/Interest_Predictions/resolve/main/app.py
- Command line
-
hf download hf://spaces/InduwaraR/Interest_Predictions/app.py
-
curl -L -o app.py https://huggingface.co/spaces/InduwaraR/Interest_Predictions/resolve/main/app.py
290 Bytes
| # Import the FastAPI app from src/main.py | |
| from src.main import app | |
| # This file is the entry point for the Docker container | |
| # The app object is imported directly from src.main | |
| if __name__ == "__main__": | |
| import uvicorn | |
| uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=False) |