change return string
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def predict_amputation(age, gender, race, diabetes_type):
|
|
45 |
|
46 |
input_df = pd.DataFrame([input_dict])
|
47 |
#return str("ALLAH " + " " + str(age) + " " + gender + " " + race + diabetes_type)
|
48 |
-
return
|
49 |
#return "ALLAH: "+str(predict(model=model, input_df=input_df)) # calls the predict function when 'submit' is clicked
|
50 |
|
51 |
|
|
|
45 |
|
46 |
input_df = pd.DataFrame([input_dict])
|
47 |
#return str("ALLAH " + " " + str(age) + " " + gender + " " + race + diabetes_type)
|
48 |
+
return diabete_type
|
49 |
#return "ALLAH: "+str(predict(model=model, input_df=input_df)) # calls the predict function when 'submit' is clicked
|
50 |
|
51 |
|