Shikun commited on
Commit
dc21ba9
·
1 Parent(s): f27bd0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -132,7 +132,8 @@ if file_upload is not None:
132
  st.write(r2_score)
133
  if r2_score < 0.98:
134
  predictions = perturb_array(best_column)
135
- predictions = pd.DataFrame(predictions, columns = ["w1","w2","w3","s1","l1","l2","l3"])
 
136
 
137
  is_download = st.checkbox("Download predictions", value=False)
138
  if is_download:
 
132
  st.write(r2_score)
133
  if r2_score < 0.98:
134
  predictions = perturb_array(best_column)
135
+ st.write(predictions)
136
+ predictions = pd.DataFrame(predictions.tolist(), columns = ["w1","w2","w3","s1","l1","l2","l3"])
137
 
138
  is_download = st.checkbox("Download predictions", value=False)
139
  if is_download: