Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def make_predictions(input_data_scaled_df: pd.DataFrame):
|
|
| 54 |
async def root():
|
| 55 |
# Endpoint at the root URL ("/") returns a welcome message with a clickable link
|
| 56 |
message = "Welcome to the Sepsis Classification API! This API Provides predictions for Sepsis based on several medical inputs. To use this API, please access the API documentation here: https://rasmodev-sepsis-prediction.hf.space/docs/"
|
| 57 |
-
return
|
| 58 |
|
| 59 |
|
| 60 |
@app.post("/predict/", response_model=OutputData)
|
|
|
|
| 54 |
async def root():
|
| 55 |
# Endpoint at the root URL ("/") returns a welcome message with a clickable link
|
| 56 |
message = "Welcome to the Sepsis Classification API! This API Provides predictions for Sepsis based on several medical inputs. To use this API, please access the API documentation here: https://rasmodev-sepsis-prediction.hf.space/docs/"
|
| 57 |
+
return message
|
| 58 |
|
| 59 |
|
| 60 |
@app.post("/predict/", response_model=OutputData)
|