Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -116,8 +116,16 @@ def colorize(img):
|
|
116 |
def clear_images():
|
117 |
return None, None
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
# Gradio demo using the Image-Slider custom component
|
120 |
-
with gr.Blocks(theme=
|
121 |
with gr.Row():
|
122 |
with gr.Column():
|
123 |
bw_image = gr.Image(label='Black and White Input Image')
|
|
|
116 |
def clear_images():
|
117 |
return None, None
|
118 |
|
119 |
+
dark_theme = gr.themes.Default(
|
120 |
+
primary_hue="teal",
|
121 |
+
secondary_hue="gray",
|
122 |
+
neutral_hue="slate",
|
123 |
+
).set(
|
124 |
+
body_background_fill="#000000" # Set background to black
|
125 |
+
)
|
126 |
+
|
127 |
# Gradio demo using the Image-Slider custom component
|
128 |
+
with gr.Blocks(theme=dark_theme) as demo:
|
129 |
with gr.Row():
|
130 |
with gr.Column():
|
131 |
bw_image = gr.Image(label='Black and White Input Image')
|