Isabel Gwara commited on
Commit
9ea91db
·
1 Parent(s): 3898702

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -113,9 +113,9 @@ def general_predictor(input_list):
113
 
114
  def get_feat():
115
  feats = [abs(x) for x in model.coef_[0]]
116
- max_val = max(feats)
117
- idx = feats.index(max_val)
118
- return data.columns[idx]
119
 
120
  form = st.form('ml-inputs')
121
 
 
113
 
114
  def get_feat():
115
  feats = [abs(x) for x in model.coef_[0]]
116
+ # max_val = max(feats)
117
+ # idx = feats.index(max_val)
118
+ return str(feats) # data.columns[idx]
119
 
120
  form = st.form('ml-inputs')
121