Zakia commited on
Commit
8ff5ffd
·
1 Parent(s): 263acd8

change return string

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