mrfakename commited on
Commit
ec31075
1 Parent(s): c3c44ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -383,7 +383,7 @@ with gr.Blocks() as vote:
383
  bothbad = gr.Button("Both are Bad", scale=2)
384
  skipbtn = gr.Button("Skip", scale=1)
385
  bothgood = gr.Button("Both are Good", scale=2)
386
- outputs = [aud1, aud2, model1, model2, prevmodel1, prevmodel2, useridstate]
387
  abetter.click(a_is_better, outputs=outputs, inputs=[model1, model2, useridstate])
388
  bbetter.click(b_is_better, outputs=outputs, inputs=[model1, model2, useridstate])
389
  skipbtn.click(b_is_better, outputs=outputs, inputs=[model1, model2, useridstate])
 
383
  bothbad = gr.Button("Both are Bad", scale=2)
384
  skipbtn = gr.Button("Skip", scale=1)
385
  bothgood = gr.Button("Both are Good", scale=2)
386
+ outputs = [aud1, aud2, model1, model2, useridstate, prevmodel1, prevmodel2]
387
  abetter.click(a_is_better, outputs=outputs, inputs=[model1, model2, useridstate])
388
  bbetter.click(b_is_better, outputs=outputs, inputs=[model1, model2, useridstate])
389
  skipbtn.click(b_is_better, outputs=outputs, inputs=[model1, model2, useridstate])