mertkarabacak commited on
Commit
3490bc2
·
verified ·
1 Parent(s): 32d1d57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ def y2_predict(*args):
134
  return output
135
 
136
  def y3_predict(*args):
137
- df1 = pd.DataFrame([args], columns=x3.columns)
138
  pos_pred = y3_calib_model.predict_proba(df3)
139
  prob = pos_pred[0][1]
140
  prob_percent = round(prob * 100)
 
134
  return output
135
 
136
  def y3_predict(*args):
137
+ df3 = pd.DataFrame([args], columns=x3.columns)
138
  pos_pred = y3_calib_model.predict_proba(df3)
139
  prob = pos_pred[0][1]
140
  prob_percent = round(prob * 100)