Tristan Thrush commited on
Commit
fd88c9a
β€’
1 Parent(s): a2b7efc

updated layout

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -107,7 +107,7 @@ with demo:
107
  dummy,
108
  )
109
  state["cnt"] += 1
110
- state_display = f"Messages left in HIT: {state['cnt']}/{TOTAL_CNT}"
111
  done = state["cnt"] == TOTAL_CNT
112
  state["data"][-1]["selected_response"] = selected_response
113
  if state["cnt"] == TOTAL_CNT:
@@ -178,7 +178,7 @@ with demo:
178
  visible=False,
179
  )
180
 
181
- state_display = gr.Markdown(f"Messages left in HIT: 0/{TOTAL_CNT}")
182
 
183
  # Button event handlers
184
  get_window_location_search_js = """
 
107
  dummy,
108
  )
109
  state["cnt"] += 1
110
+ state_display = f"Submissions left in HIT: {state['cnt']}/{TOTAL_CNT}"
111
  done = state["cnt"] == TOTAL_CNT
112
  state["data"][-1]["selected_response"] = selected_response
113
  if state["cnt"] == TOTAL_CNT:
 
178
  visible=False,
179
  )
180
 
181
+ state_display = gr.Markdown(f"Submissions left in HIT: 0/{TOTAL_CNT}")
182
 
183
  # Button event handlers
184
  get_window_location_search_js = """