Embedded / main.py
yamunasivan's picture
create a new file
d1e319b
raw
history blame contribute delete
293 Bytes
from fastapi import FastAPI
from routers import predict
app = FastAPI(title="Logistic Regression API")
# Include API router
app.include_router(predict.router)
@app.get("/")
def home():
return {"message": "Welcome to the Logistic Regression API"}
# Run using: uvicorn main:app --reload