Spaces:
Sleeping
Sleeping
File size: 279 Bytes
f1aa557 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import streamlit as st
st.write("Query params:", st.query_params)
if st.button("Clear query params"):
st.query_params.clear()
st.subheader("Set query params")
key = st.text_input("Key")
value = st.text_input("Value")
if st.button("Set"):
st.query_params[key] = value
|