Spaces:
Sleeping
Sleeping
| from fastapi import FastAPI | |
| from backend.routers import population # Absolute import | |
| from backend.utils.logger import setup_logging # Absolute import | |
| app = FastAPI() | |
| setup_logging() | |
| app.include_router(population.router) | |
| def read_root(): | |
| return {"message": "Welcome to the World Population API."} |