Spaces:
Sleeping
Sleeping
| from fastapi import FastAPI | |
| from routers import stats | |
| from utils.logger import logger | |
| app = FastAPI() | |
| # Include the stats router | |
| app.include_router(stats.router) | |
| def home(): | |
| logger.info("Home page accessed.") | |
| return {"message": "Welcome to the Home Page"} | |