Commit
·
8ea1efb
1
Parent(s):
816a35e
Update app/main.py
Browse files- app/main.py +3 -3
app/main.py
CHANGED
@@ -62,9 +62,9 @@ class Patients(BaseModel):
|
|
62 |
|
63 |
# Endpoints
|
64 |
# Root Endpoint
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
|
69 |
# Prediction endpoint
|
70 |
@app.post("/predict")
|
|
|
62 |
|
63 |
# Endpoints
|
64 |
# Root Endpoint
|
65 |
+
@app.get("/")
|
66 |
+
def root():
|
67 |
+
return {"API": "This is an API for sepsis prediction."}
|
68 |
|
69 |
# Prediction endpoint
|
70 |
@app.post("/predict")
|