Spaces:
Build error
Build error
Commit
•
50281eb
1
Parent(s):
9bc8894
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ with gr.Blocks(theme='freddyaboulton/dracula_revamped') as demo:
|
|
25 |
dropdown.change(None, dropdown, None, js=js)
|
26 |
toggle_dark.click(
|
27 |
None,
|
28 |
-
|
29 |
() => {
|
30 |
document.body.classList.toggle('dark');
|
31 |
document.querySelector('gradio-app').style.backgroundColor = 'var(--color-background-primary)'
|
|
|
25 |
dropdown.change(None, dropdown, None, js=js)
|
26 |
toggle_dark.click(
|
27 |
None,
|
28 |
+
js="""
|
29 |
() => {
|
30 |
document.body.classList.toggle('dark');
|
31 |
document.querySelector('gradio-app').style.backgroundColor = 'var(--color-background-primary)'
|