from dotenv import load_dotenv load_dotenv() from fastapi import FastAPI # noqa: E402 from app.routers import predict # noqa: E402 from app.routers import descriptors # noqa: E402 from app.routers import name # noqa: E402 app = FastAPI(title="Molecular Prediction API") app.include_router(predict.router, prefix="/api") app.include_router(descriptors.router, prefix="/api") app.include_router(name.router, prefix="/api") @app.get("/") async def root(): return {"message": "Molecular Prediction API. Use POST /api/predict"}