from fastapi import FastAPI from routes import analytics app = FastAPI() # This sets up logging with the directory fix app.include_router(analytics.router) @app.get("/") def home(): return {"message": "HR Analytics API is running"} def home(): return