Spaces:
Sleeping
Sleeping
Anna Zhou commited on
Commit ·
45ddb8a
1
Parent(s): 89d7d50
Fix disclaimer button centering
Browse files- app/app.py +4 -6
app/app.py
CHANGED
|
@@ -460,12 +460,10 @@ if not st.session_state.disclaimer_accepted:
|
|
| 460 |
</div>
|
| 461 |
</div>
|
| 462 |
""", unsafe_allow_html=True)
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
_set_query_param("disclaimer_accepted", "true")
|
| 468 |
-
st.rerun()
|
| 469 |
st.stop()
|
| 470 |
|
| 471 |
_render_navigation()
|
|
|
|
| 460 |
</div>
|
| 461 |
</div>
|
| 462 |
""", unsafe_allow_html=True)
|
| 463 |
+
if st.button("I understand — continue to the tool", type="primary"):
|
| 464 |
+
st.session_state.disclaimer_accepted = True
|
| 465 |
+
_set_query_param("disclaimer_accepted", "true")
|
| 466 |
+
st.rerun()
|
|
|
|
|
|
|
| 467 |
st.stop()
|
| 468 |
|
| 469 |
_render_navigation()
|