velmurugan1122's picture
fix: folder changes
5ba2fa9
raw
history blame contribute delete
281 Bytes
from fastapi import FastAPI
from back_end.routers import embedding
app = FastAPI(title="Text Embedding API")
# Include the embedding router
app.include_router(embedding.router, prefix="/api")
@app.get("/")
def home():
return {"message": "Welcome to the Text Embedding API"}