Spaces:
Running
on
Zero
Running
on
Zero
Gradio does not like the semicolon on inline JS
Browse files- 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\
|