Spaces:
Runtime error
Runtime error
Download app.py from Mekam/NetSentinel: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/spaces/Mekam/NetSentinel/resolve/main/app.py
- Command line
-
hf download hf://spaces/Mekam/NetSentinel/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Mekam/NetSentinel/resolve/main/app.py
383 Bytes
| from fastapi import FastAPI | |
| from src.routes import user_routes,organization_routes, prediction_routes | |
| app = FastAPI(title="NetSentinel Backend") | |
| # Register routers | |
| # app.include_router(user_routes.router) | |
| # app.include_router(organization_routes.router) | |
| app.include_router(prediction_routes.router) | |
| def root(): | |
| return {"message": "NetSentinel Backend Running"} | |