Update main.py
Browse files
main.py
CHANGED
@@ -27,18 +27,15 @@ def preprocess_input_data(input_data, num_imputer, scaler):
|
|
27 |
|
28 |
@app.get("/")
|
29 |
def read_root():
|
30 |
-
"""
|
31 |
Welcome to the Sepsis Prediction API! ๐ฉบ๐
|
32 |
-
|
33 |
This API provides advanced machine learning predictions for sepsis. โก๐
|
34 |
-
|
35 |
For more information and to explore the API's capabilities,
|
36 |
please visit the documentation: [API Documentation](https://abubakari-sepsis-fastapi-prediction-app.hf.space/docs/) ๐๐
|
37 |
-
|
38 |
Stay proactive in detecting sepsis with our predictive tool! ๐๐ฎ
|
39 |
-
|
40 |
"""
|
41 |
-
return
|
|
|
42 |
|
43 |
|
44 |
@app.get("/sepsis/predict")
|
|
|
27 |
|
28 |
@app.get("/")
|
29 |
def read_root():
|
30 |
+
info = """
|
31 |
Welcome to the Sepsis Prediction API! ๐ฉบ๐
|
|
|
32 |
This API provides advanced machine learning predictions for sepsis. โก๐
|
|
|
33 |
For more information and to explore the API's capabilities,
|
34 |
please visit the documentation: [API Documentation](https://abubakari-sepsis-fastapi-prediction-app.hf.space/docs/) ๐๐
|
|
|
35 |
Stay proactive in detecting sepsis with our predictive tool! ๐๐ฎ
|
|
|
36 |
"""
|
37 |
+
return info
|
38 |
+
|
39 |
|
40 |
|
41 |
@app.get("/sepsis/predict")
|