Pendrokar commited on
Commit
c213824
·
1 Parent(s): 5f33322

Gradio does not like the semicolon on inline JS

Browse files
Files changed (1) hide show
  1. app/ui_vote.py +1 -1
app/ui_vote.py CHANGED
@@ -171,7 +171,7 @@ with gr.Blocks() as vote:
171
  outputs=[abetter, bbetter, aplayed, bplayed],
172
  )
173
  # unblur text with JS; faster than sending output with elem_classes
174
- aud2.stop(None, inputs=[aplayed], js="(a) => a ? "+ unblur_text_js +" : 0;")
175
 
176
  nxt_outputs = [abetter, bbetter, prevmodel1, prevmodel2, nxtroundbtn]
177
  abetter\
 
171
  outputs=[abetter, bbetter, aplayed, bplayed],
172
  )
173
  # unblur text with JS; faster than sending output with elem_classes
174
+ aud2.stop(None, inputs=[aplayed], js="(a) => a ? "+ unblur_text_js +" : 0")
175
 
176
  nxt_outputs = [abetter, bbetter, prevmodel1, prevmodel2, nxtroundbtn]
177
  abetter\