from fastapi import FastAPI from dotenv import load_dotenv from tasks import text, image, audio # Load environment variables load_dotenv() app = FastAPI( title="Smoke Detector", description="API for the Frugal AI Challenge evaluation endpoints" ) # Include all routers app.include_router(image.router) @app.get("/") async def root(): return { "message": "Welcome to the Frugal AI Challenge API", "endpoints": { "image": "/image - Image classification task", } }