Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -155,7 +155,7 @@ if st.session_state.image is not None:
|
|
| 155 |
st.session_state.image_counter -= 1
|
| 156 |
with row4b_col3:
|
| 157 |
if st.button("Next"):
|
| 158 |
-
if st.session_state.image_counter < len(results):
|
| 159 |
st.session_state.image_counter += 1
|
| 160 |
|
| 161 |
# Plot predicted image
|
|
|
|
| 155 |
st.session_state.image_counter -= 1
|
| 156 |
with row4b_col3:
|
| 157 |
if st.button("Next"):
|
| 158 |
+
if st.session_state.image_counter < len(st.sessionstate.results):
|
| 159 |
st.session_state.image_counter += 1
|
| 160 |
|
| 161 |
# Plot predicted image
|