change input_dict
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def predict_amputation(age, gender, race, diabetes_type):
|
|
36 |
#input_dict = {"AGE": 70.0, "GENDER": 0.0, "RACE": 1.0, "DIABETES_CLASS":0.0, "AMPUTATION":0}
|
37 |
|
38 |
|
39 |
-
input_dict = {"AGE": 70, "GENDER": "F", "RACE": "Asian", "DIABETES_CLASS":"Type 2 diabetes"}
|
40 |
|
41 |
|
42 |
input_df = pd.DataFrame([input_dict])
|
|
|
36 |
#input_dict = {"AGE": 70.0, "GENDER": 0.0, "RACE": 1.0, "DIABETES_CLASS":0.0, "AMPUTATION":0}
|
37 |
|
38 |
|
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])
|