File size: 347 Bytes
9f559c6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from fastapi import FastAPI
from routers import transcription
app = FastAPI(title="Whisper Transcription API",docs_url="/")
app.include_router(transcription.router, prefix="/api/v1", tags=["transcription"])
@app.get("/")
async def root():
return {
"message": "Welcome to Whisper Transcription API",
"docs_url": "/docs"
} |