Spaces:
Sleeping
Sleeping
Download main.py from sanbatte/finance_api: direct link, hf CLI and curl.
- Browser
- Download file 262 Bytes
-
https://huggingface.co/spaces/sanbatte/finance_api/resolve/main/main.py
- Command line
-
hf download hf://spaces/sanbatte/finance_api/main.py
-
curl -L -o main.py https://huggingface.co/spaces/sanbatte/finance_api/resolve/main/main.py
262 Bytes
| from fastapi import FastAPI | |
| from app.routes import prediction | |
| from app.routes import home | |
| app = FastAPI() | |
| app.include_router( | |
| home.router, | |
| tags=["home"], | |
| ) | |
| app.include_router( | |
| prediction.router, | |
| prefix="/predict", | |
| tags=["prediction"], | |
| ) | |