ParityError
commited on
Commit
·
8757e3c
1
Parent(s):
841cf99
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ with gr.Blocks(theme='ParityError/Anime') as demo:
|
|
28 |
_js="""
|
29 |
() => {
|
30 |
document.body.classList.toggle('dark');
|
31 |
-
document.querySelector('gradio-app', backgroundColor
|
32 |
}
|
33 |
""",
|
34 |
)
|
@@ -65,7 +65,7 @@ with gr.Blocks(theme='ParityError/Anime') as demo:
|
|
65 |
check = gr.Checkbox(label="Go")
|
66 |
with gr.Column(variant="panel", scale=2):
|
67 |
img = gr.Image(
|
68 |
-
"https://gradio-static-files.s3.us-west-2.amazonaws.com/header-image.jpg", label="Image"
|
69 |
)
|
70 |
with gr.Row():
|
71 |
go_btn = gr.Button("Go", label="Primary Button", variant="primary")
|
|
|
28 |
_js="""
|
29 |
() => {
|
30 |
document.body.classList.toggle('dark');
|
31 |
+
document.querySelector('gradio-app', backgroundColor='var(--neutral-700)')
|
32 |
}
|
33 |
""",
|
34 |
)
|
|
|
65 |
check = gr.Checkbox(label="Go")
|
66 |
with gr.Column(variant="panel", scale=2):
|
67 |
img = gr.Image(
|
68 |
+
"https://gradio-static-files.s3.us-west-2.amazonaws.com/header-image.jpg", label="Image"
|
69 |
)
|
70 |
with gr.Row():
|
71 |
go_btn = gr.Button("Go", label="Primary Button", variant="primary")
|