Spaces:
Runtime error
Runtime error
ParityError
commited on
Update app.py
Browse files_js=js -> js=js
app.py
CHANGED
@@ -22,7 +22,7 @@ with gr.Blocks(theme='ParityError/Anime') as demo:
|
|
22 |
dropdown.render()
|
23 |
toggle_dark = gr.Button(value="Toggle Dark", scale=1)
|
24 |
|
25 |
-
dropdown.change(None, dropdown, None,
|
26 |
toggle_dark.click(
|
27 |
None,
|
28 |
_js="""
|
|
|
22 |
dropdown.render()
|
23 |
toggle_dark = gr.Button(value="Toggle Dark", scale=1)
|
24 |
|
25 |
+
dropdown.change(None, dropdown, None, js=js)
|
26 |
toggle_dark.click(
|
27 |
None,
|
28 |
_js="""
|