File size: 318 Bytes
1dcd72a
79eca0e
 
 
c902ef2
79eca0e
 
 
c11261f
709b775
 
 
9288345
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from fastapi import FastAPI,APIRouter
from routes.sms_router import router as sms_router

# Initialize FastAPI app
app = FastAPI()

# Include the router for SMS endpoints
app.include_router(sms_router)

@app.get("/")
def home():
    
    return {"message": "Welcome to embedding sms API, use /docs to test endpoints"}