Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ if file_upload is not None:
|
|
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:
|
|
|
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:
|