mrfakename commited on
Commit
36d9fca
1 Parent(s): c3e4d11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -465,7 +465,7 @@ with gr.Blocks() as vote:
465
  abetter = gr.Button("A is Better")
466
  bbetter = gr.Button("B is Better")
467
  outputs = [text, btn, r1, r2, model1, model2, prevmodel1, aud1, prevmodel2, aud2, abetter, bbetter]
468
- btn.click(synthandreturn, inpus=[text], outputs=outputs)
469
 
470
  nxt_outputs = [prevmodel1, prevmodel2, abetter, bbetter]
471
  abetter.click(a_is_better, outputs=nxt_outputs, inputs=[model1, model2, useridstate])
 
465
  abetter = gr.Button("A is Better")
466
  bbetter = gr.Button("B is Better")
467
  outputs = [text, btn, r1, r2, model1, model2, prevmodel1, aud1, prevmodel2, aud2, abetter, bbetter]
468
+ btn.click(synthandreturn, inputs=[text], outputs=outputs)
469
 
470
  nxt_outputs = [prevmodel1, prevmodel2, abetter, bbetter]
471
  abetter.click(a_is_better, outputs=nxt_outputs, inputs=[model1, model2, useridstate])