Abubakari commited on
Commit
171713e
โ€ข
1 Parent(s): 5b17d15

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -6
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 "Sepsis Prediction App"
 
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")