elibrowne commited on
Commit
cadf427
·
1 Parent(s): 8e8e412
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -446,7 +446,7 @@ with gr.Blocks(theme = theme) as user_eval:
446
  c.click(fn = answer_c, inputs = [current_response], outputs = [question, evals, current_response])
447
  d.click(fn = answer_d, inputs = [current_response], outputs = [question, evals, current_response])
448
 
449
- def toggle(step, mode, cq):
450
  # step = 0
451
  if mode == 0: # temporarily disabled — will never be mode 0
452
  mode = 1 # update mode to 1, will restart with same Q, next set of Ps
 
446
  c.click(fn = answer_c, inputs = [current_response], outputs = [question, evals, current_response])
447
  d.click(fn = answer_d, inputs = [current_response], outputs = [question, evals, current_response])
448
 
449
+ def toggle(s, mode, cq): # s was step...
450
  # step = 0
451
  if mode == 0: # temporarily disabled — will never be mode 0
452
  mode = 1 # update mode to 1, will restart with same Q, next set of Ps