Spaces:
Sleeping
Sleeping
from fastapi import FastAPI | |
from dotenv import load_dotenv | |
from tasks import audio | |
# Load environment variables | |
load_dotenv() | |
app = FastAPI( | |
title="Frugal AI Challenge API", | |
description="API for the Frugal AI Challenge evaluation endpoints" | |
) | |
# Include all routers | |
app.include_router(audio.router) | |
async def root(): | |
return { | |
"message": "Welcome to the Frugal AI Challenge API", | |
"endpoints": { | |
"audio": "/audio - Audio classification task (coming soon)" | |
} | |
} |