10 lines
288 B
Python
10 lines
288 B
Python
from fastapi import FastAPI
|
|
from app.api.v1 import translate
|
|
from app.api.v1 import voice
|
|
|
|
app = FastAPI()
|
|
|
|
# Include your routes
|
|
app.include_router(translate.router, prefix="/api/v1/translate", tags=["translate"])
|
|
app.include_router(voice.router, prefix="/api/v1/voice", tags=["voice"])
|