freddyaboulton HF staff commited on
Commit
50281eb
1 Parent(s): 9bc8894

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- _js="""
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)'