Spaces:
Paused
Paused
File size: 272 Bytes
b34b7d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from fastapi import FastAPI
import pickle
import uvicorn
import pandas as pd
app = FastAPI()
@app.get("/")
def root():
return {"API": "An API for Sepsis Prediction."}
@app.get('/Predict')
async def predict():
return 'output_pred = "Sepsis status is Negative"' |