CarolineM5 commited on
Commit
45a7dbe
·
verified ·
1 Parent(s): aefdf62

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -137,7 +137,7 @@ if st.session_state.page == "evaluation":
137
  if "start_time" not in st.session_state or st.session_state.page_changed:
138
  st.session_state.start_time = time.time()
139
  st.session_state.page_changed = False
140
- st_autorefresh(interval=1000, key=f"timer_{st.session_state.current_index}")
141
 
142
  # If all pairs have been evaluated, display a message and save the results
143
  if st.session_state.current_index+1 > NUM_PAIRS:
@@ -187,7 +187,7 @@ if st.session_state.page == "evaluation":
187
  st.stop()
188
 
189
 
190
-
191
  st.write(f"Image Pair {st.session_state.current_index+1} of {NUM_PAIRS}")
192
 
193
  # Charger et mélanger la paire pour l'index courant
 
137
  if "start_time" not in st.session_state or st.session_state.page_changed:
138
  st.session_state.start_time = time.time()
139
  st.session_state.page_changed = False
140
+
141
 
142
  # If all pairs have been evaluated, display a message and save the results
143
  if st.session_state.current_index+1 > NUM_PAIRS:
 
187
  st.stop()
188
 
189
 
190
+ st_autorefresh(interval=1000, key=f"timer_{st.session_state.current_index}")
191
  st.write(f"Image Pair {st.session_state.current_index+1} of {NUM_PAIRS}")
192
 
193
  # Charger et mélanger la paire pour l'index courant