Zakia commited on
Commit
12b6b1a
1 Parent(s): 8716dd5

change input_dict

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -39,6 +39,9 @@ def predict_amputation(age, gender, race, diabetes_type):
39
  input_dict = {"AGE": 70, "GENDER": "F", "RACE": "Asian", "DIABETES_CLASS":"Type 2 diabetes", "AMPUTATION":0}
40
 
41
 
 
 
 
42
  input_df = pd.DataFrame([input_dict])
43
  return "ALLAH: "+str(predict(model=model, input_df=input_df)) # calls the predict function when 'submit' is clicked
44
 
 
39
  input_dict = {"AGE": 70, "GENDER": "F", "RACE": "Asian", "DIABETES_CLASS":"Type 2 diabetes", "AMPUTATION":0}
40
 
41
 
42
+ input_dict = {"AGE": 80, "GENDER": "F", "RACE": "Asian", "DIABETES_CLASS":"Type 2 diabetes", "AMPUTATION":0}
43
+
44
+
45
  input_df = pd.DataFrame([input_dict])
46
  return "ALLAH: "+str(predict(model=model, input_df=input_df)) # calls the predict function when 'submit' is clicked
47