rowankwang commited on
Commit
6b7b203
·
1 Parent(s): 924ef80

spacing on top

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -52,7 +52,11 @@ def next_query():
52
  if st.session_state.current_query_index < len(data) - 1:
53
  st.session_state.current_query_index += 1
54
  st.rerun()
55
-
 
 
 
 
56
  # Display current query and its results
57
  def display_query():
58
  # Navigation bar
@@ -68,7 +72,7 @@ def display_query():
68
  st.rerun()
69
  st.progress((st.session_state.current_query_index + 1) / len(st.session_state.data))
70
  with col2:
71
- col1, col2, col3, col4 = st.columns([1, 1, 1, 1], gap = "small")
72
  with col1:
73
  if st.button('Next'):
74
  if st.session_state.current_query_index < len(st.session_state.data) - 1:
@@ -149,10 +153,6 @@ with col2:
149
  current_query['status'] = 'graded'
150
  next_query()
151
 
152
-
153
- add_keyboard_shortcuts({
154
- 's': 'Skip',
155
- })
156
  add_keyboard_shortcuts({
157
  'j': 'Junk',
158
  })
 
52
  if st.session_state.current_query_index < len(data) - 1:
53
  st.session_state.current_query_index += 1
54
  st.rerun()
55
+
56
+ add_keyboard_shortcuts({
57
+ 's': 'Skip',
58
+ })
59
+
60
  # Display current query and its results
61
  def display_query():
62
  # Navigation bar
 
72
  st.rerun()
73
  st.progress((st.session_state.current_query_index + 1) / len(st.session_state.data))
74
  with col2:
75
+ col1, col2, col3, col4 = st.columns([1, 1, 1, 2], gap = "small")
76
  with col1:
77
  if st.button('Next'):
78
  if st.session_state.current_query_index < len(st.session_state.data) - 1:
 
153
  current_query['status'] = 'graded'
154
  next_query()
155
 
 
 
 
 
156
  add_keyboard_shortcuts({
157
  'j': 'Junk',
158
  })