Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -24,7 +24,7 @@ input_mode = st.radio("📸 Select Input Method", ["Camera", "Upload"], horizont
|
|
24 |
# Reset
|
25 |
if st.button("🔁 Clear / Retake"):
|
26 |
st.session_state.camera_key = str(uuid.uuid4())
|
27 |
-
st.experimental_rerun()
|
28 |
|
29 |
image_bytes = None
|
30 |
image = None
|
|
|
24 |
# Reset
|
25 |
if st.button("🔁 Clear / Retake"):
|
26 |
st.session_state.camera_key = str(uuid.uuid4())
|
27 |
+
st.rerun() # ✅ updated from deprecated st.experimental_rerun()
|
28 |
|
29 |
image_bytes = None
|
30 |
image = None
|