Spaces:
Running
Running
oceansweep
commited on
Update app.py
Browse files
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"),
|