File size: 293 Bytes
d1e319b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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