Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -196,16 +196,16 @@ if st.session_state.screen == 2:
|
|
| 196 |
# navigation
|
| 197 |
row5a_col0, row5a_col1, row5a_col2= st.columns([1,1,1], gap="medium")
|
| 198 |
with row5a_col0:
|
| 199 |
-
if st.button("Back", use_container_width=
|
| 200 |
if st.session_state.image_counter > 0:
|
| 201 |
st.session_state.image_counter -= 1
|
| 202 |
with row5a_col1:
|
| 203 |
-
if st.button("Select New Photo", use_container_width=
|
| 204 |
st.session_state.screen = 1
|
| 205 |
st.session_state.results = None
|
| 206 |
st.rerun()
|
| 207 |
with row5a_col2:
|
| 208 |
-
if st.button("Next", use_container_width=
|
| 209 |
if st.session_state.image_counter < len(st.session_state.results) - 1:
|
| 210 |
st.session_state.image_counter += 1
|
| 211 |
|
|
|
|
| 196 |
# navigation
|
| 197 |
row5a_col0, row5a_col1, row5a_col2= st.columns([1,1,1], gap="medium")
|
| 198 |
with row5a_col0:
|
| 199 |
+
if st.button("Back", use_container_width=True):
|
| 200 |
if st.session_state.image_counter > 0:
|
| 201 |
st.session_state.image_counter -= 1
|
| 202 |
with row5a_col1:
|
| 203 |
+
if st.button("Select New Photo", use_container_width=True):
|
| 204 |
st.session_state.screen = 1
|
| 205 |
st.session_state.results = None
|
| 206 |
st.rerun()
|
| 207 |
with row5a_col2:
|
| 208 |
+
if st.button("Next", use_container_width=True):
|
| 209 |
if st.session_state.image_counter < len(st.session_state.results) - 1:
|
| 210 |
st.session_state.image_counter += 1
|
| 211 |
|