Spaces:
Runtime error
Runtime error
Commit
·
f575d0d
1
Parent(s):
03a6696
Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,12 @@ def switch_states(is_checked):
|
|
33 |
return gr.Image.update(visible=True), gr.Button.update(visible=True)
|
34 |
else:
|
35 |
return gr.Image.update(visible=False), gr.Button.update(visible=False)
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
39 |
with gr.Column():
|
40 |
with gr.Row():
|
41 |
Image_input = gr.Image(type="numpy", label="Input", interactive=True)
|
|
|
33 |
return gr.Image.update(visible=True), gr.Button.update(visible=True)
|
34 |
else:
|
35 |
return gr.Image.update(visible=False), gr.Button.update(visible=False)
|
36 |
+
demo = gr.Blocks(title="DISCO")
|
37 |
+
with demo:
|
38 |
+
gr.Markdown(value="""
|
39 |
+
**Gradio demo for DISCO: Disentangled Image Colorization via Global Anchors**. Check our [project page](https://menghanxia.github.io/projects/disco.html) 😛.
|
40 |
+
""")
|
41 |
+
with gr.Row():
|
42 |
with gr.Column():
|
43 |
with gr.Row():
|
44 |
Image_input = gr.Image(type="numpy", label="Input", interactive=True)
|