oceansweep commited on
Commit
7af3abf
·
verified ·
1 Parent(s): ab3e595

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -1202,16 +1202,16 @@ def launch_ui(demo_mode=False):
1202
  else:
1203
  return ""
1204
 
1205
- dropdown.change(None, dropdown, None, _js=js)
1206
- toggle_dark.click(
1207
- None,
1208
- _js="""
1209
- () => {
1210
- document.body.classList.toggle('dark');
1211
- document.querySelector('gradio-app').style.backgroundColor = 'var(--color-background-primary)'
1212
- }
1213
- """,
1214
- )
1215
 
1216
  inputs = [
1217
  gr.components.Textbox(label="URL"),
 
1202
  else:
1203
  return ""
1204
 
1205
+ # dropdown.change(None, dropdown, None, _js=js)
1206
+ # toggle_dark.click(
1207
+ # None,
1208
+ # _js="""
1209
+ # () => {
1210
+ # document.body.classList.toggle('dark');
1211
+ # document.querySelector('gradio-app').style.backgroundColor = 'var(--color-background-primary)'
1212
+ # }
1213
+ # """,
1214
+ # )
1215
 
1216
  inputs = [
1217
  gr.components.Textbox(label="URL"),