Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ with col2:
|
|
47 |
if st.button("Refresh"):
|
48 |
st.session_state.user_input = ""
|
49 |
st.session_state.prediction = None
|
50 |
-
st.experimental_rerun()
|
51 |
|
52 |
# Display the prediction result
|
53 |
if st.session_state.prediction:
|
|
|
47 |
if st.button("Refresh"):
|
48 |
st.session_state.user_input = ""
|
49 |
st.session_state.prediction = None
|
50 |
+
st.rerun() # Use st.rerun() instead of st.experimental_rerun()
|
51 |
|
52 |
# Display the prediction result
|
53 |
if st.session_state.prediction:
|