Spaces:
Sleeping
Sleeping
Fix refresh data
Browse files
app.py
CHANGED
|
@@ -14,7 +14,8 @@ with st.container():
|
|
| 14 |
st.link_button("Link to this page with query params", "page1?key=val")
|
| 15 |
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
st.query_params.from_dict({"key123": "val123"})
|
| 20 |
|
|
|
|
|
|
|
|
|
| 14 |
st.link_button("Link to this page with query params", "page1?key=val")
|
| 15 |
|
| 16 |
|
| 17 |
+
def from_dict():
|
| 18 |
+
st.query_params.from_dict({"key123": "val123"})
|
|
|
|
| 19 |
|
| 20 |
+
with st.container():
|
| 21 |
+
st.button("from dict", on_click=from_dict)
|