Spaces:
Runtime error
Runtime error
Commit ·
deadf82
1
Parent(s): b4d7ff1
Update main.py
Browse files
main.py
CHANGED
|
@@ -29,15 +29,6 @@ class PatientData(BaseModel):
|
|
| 29 |
Age: float
|
| 30 |
Insurance: int
|
| 31 |
|
| 32 |
-
# @app.get("/")
|
| 33 |
-
# def read_root():
|
| 34 |
-
# explanation = {
|
| 35 |
-
# 'message': "Welcome to the Sepsis Prediction App",
|
| 36 |
-
# 'description': "This API allows you to predict sepsis based on patient data.",
|
| 37 |
-
# 'usage': "Submit a POST request to /predict with patient data to make predictions.",
|
| 38 |
-
|
| 39 |
-
# }
|
| 40 |
-
# return explanation
|
| 41 |
|
| 42 |
@app.get("/")
|
| 43 |
async def root():
|
|
|
|
| 29 |
Age: float
|
| 30 |
Insurance: int
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
@app.get("/")
|
| 34 |
async def root():
|