Sonny4Sonnix commited on
Commit
fde5712
·
1 Parent(s): 9ba1f61

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +10 -10
main.py CHANGED
@@ -35,16 +35,16 @@ model_input = joblib.load("model_1.joblib")
35
  @app.post("/sepsis_prediction")
36
  async def predict(input: InputFeatures):
37
 
38
- { Plasma_glucose: float,
39
- Blood_Work_Result_1: float,
40
- Blood_Pressure: float,
41
- Blood_Work_Result_2: float,
42
- Blood_Work_Result_3: float,
43
- Body_mass_index: float,
44
- Blood_Work_Result_4: float,
45
- patients_age: int
46
- }
47
- return input
48
  # Numeric Features
49
  num_attr = [
50
  ['Plasma_glucose', 'Blood_Work_Result_1', 'Blood_Pressure',
 
35
  @app.post("/sepsis_prediction")
36
  async def predict(input: InputFeatures):
37
 
38
+ # { Plasma_glucose: float,
39
+ # Blood_Work_Result_1: float,
40
+ # Blood_Pressure: float,
41
+ # Blood_Work_Result_2: float,
42
+ # Blood_Work_Result_3: float,
43
+ # Body_mass_index: float,
44
+ # Blood_Work_Result_4: float,
45
+ # patients_age: int
46
+ # }
47
+ # return input
48
  # Numeric Features
49
  num_attr = [
50
  ['Plasma_glucose', 'Blood_Work_Result_1', 'Blood_Pressure',