emvecchi commited on
Commit
5152041
1 Parent(s): 816a7d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -570,6 +570,7 @@ def navigate_to_index():
570
  if 0 <= go_to_index < len(st.session_state.data):
571
  if go_to_index <= farthest_index:
572
  st.session_state.current_index = go_to_index
 
573
  else:
574
  st.info(f"You have not annotated up to instance #{int(st.session_state.go_to)} yet. \nYour last annotated instance was #{farthest_index+1}.")
575
  else:
 
570
  if 0 <= go_to_index < len(st.session_state.data):
571
  if go_to_index <= farthest_index:
572
  st.session_state.current_index = go_to_index
573
+ st.experimental_rerun()
574
  else:
575
  st.info(f"You have not annotated up to instance #{int(st.session_state.go_to)} yet. \nYour last annotated instance was #{farthest_index+1}.")
576
  else: