Ricercar commited on
Commit
b81f75d
1 Parent(s): bbd2b0f

update button icons

Browse files
Files changed (1) hide show
  1. pages/Ranking.py +3 -3
pages/Ranking.py CHANGED
@@ -144,12 +144,12 @@ class RankingApp:
144
  # st.write(str(st.session_state.ranking))
145
  with control:
146
  if st.session_state.counter[prompt_id] < batch_num - 1:
147
- st.button(":arrow_right:", key='next', on_click=self.next_batch, help='Next Batch', kwargs={'prompt_id': prompt_id})
148
  else:
149
- st.button(":ballot_box_with_check:", key='finished', on_click=self.next_batch, help='Finished', kwargs={'prompt_id': prompt_id, 'progress': 'finished'})
150
 
151
  if st.session_state.counter[prompt_id] > 0:
152
- st.button(":arrow_left:", key='prev', on_click=self.prev_batch, help='Previous Batch', kwargs={'prompt_id': prompt_id})
153
 
154
  elif st.session_state.progress[prompt_id] == 'finished':
155
  st.write('## You have ranked all models for this tag!')
 
144
  # st.write(str(st.session_state.ranking))
145
  with control:
146
  if st.session_state.counter[prompt_id] < batch_num - 1:
147
+ st.button(":arrow_right:", key='next', on_click=self.next_batch, help='Next Batch', kwargs={'prompt_id': prompt_id}, use_container_width=True)
148
  else:
149
+ st.button(":heavy_check_mark:", key='finished', on_click=self.next_batch, help='Finished', kwargs={'prompt_id': prompt_id, 'progress': 'finished'}, use_container_width=True)
150
 
151
  if st.session_state.counter[prompt_id] > 0:
152
+ st.button(":arrow_left:", key='prev', on_click=self.prev_batch, help='Previous Batch', kwargs={'prompt_id': prompt_id}, use_container_width=True)
153
 
154
  elif st.session_state.progress[prompt_id] == 'finished':
155
  st.write('## You have ranked all models for this tag!')