Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -53,6 +53,8 @@ button[type="submit"],
|
|
53 |
[data-testid="stFormSubmitButton"]>button {
|
54 |
background-color: #fff0f0 !important;
|
55 |
color: #3f51b5 !important;
|
|
|
|
|
56 |
}
|
57 |
.stButton>button:hover {
|
58 |
background-color: #fafbff !important;
|
@@ -208,7 +210,6 @@ def handle_form_submit():
|
|
208 |
st.session_state.submit_clicked = True
|
209 |
# Increment the form key to force a reset
|
210 |
st.session_state.form_key += 1
|
211 |
-
st.rerun()
|
212 |
|
213 |
# Create a form with dynamic key for resetting
|
214 |
with st.form(key=f"query_form_{st.session_state.form_key}"):
|
|
|
53 |
[data-testid="stFormSubmitButton"]>button {
|
54 |
background-color: #fff0f0 !important;
|
55 |
color: #3f51b5 !important;
|
56 |
+
border: 1px solid #e1e4f2 !important;
|
57 |
+
border-radius: 8px !important;
|
58 |
}
|
59 |
.stButton>button:hover {
|
60 |
background-color: #fafbff !important;
|
|
|
210 |
st.session_state.submit_clicked = True
|
211 |
# Increment the form key to force a reset
|
212 |
st.session_state.form_key += 1
|
|
|
213 |
|
214 |
# Create a form with dynamic key for resetting
|
215 |
with st.form(key=f"query_form_{st.session_state.form_key}"):
|