Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,11 +129,14 @@ with st.sidebar:
|
|
| 129 |
)
|
| 130 |
|
| 131 |
# Buttons: run persists, clear removes results
|
| 132 |
-
colA, colB = st.columns(2)
|
| 133 |
-
with colA:
|
| 134 |
-
|
| 135 |
-
with colB:
|
| 136 |
-
|
|
|
|
|
|
|
|
|
|
| 137 |
|
| 138 |
if run_clicked:
|
| 139 |
# freeze a snapshot of params used for this run
|
|
|
|
| 129 |
)
|
| 130 |
|
| 131 |
# Buttons: run persists, clear removes results
|
| 132 |
+
#colA, colB = st.columns(2)
|
| 133 |
+
#with colA:
|
| 134 |
+
# run_clicked = st.button("Run Analysis", type="primary", use_container_width=True)
|
| 135 |
+
#with colB:
|
| 136 |
+
# clear_clicked = st.button("Clear Results", type="secondary", use_container_width=True)
|
| 137 |
+
# Buttons: run persists, no clear button
|
| 138 |
+
run_clicked = st.button("Run Analysis", type="primary", use_container_width=True)
|
| 139 |
+
clear_clicked = False # <- keep the variable so the rest of the code doesn't break
|
| 140 |
|
| 141 |
if run_clicked:
|
| 142 |
# freeze a snapshot of params used for this run
|