Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,6 @@ demo = gr.Blocks(title="DISCO", delete_cache=(1800, 3600),)
|
|
| 45 |
with demo:
|
| 46 |
gr.Markdown(value="""
|
| 47 |
**Gradio demo for DISCO: Disentangled Image Colorization via Global Anchors**. Check the [project page](https://menghanxia.github.io/projects/disco.html).
|
| 48 |
-
|
| 49 |
""")
|
| 50 |
with gr.Row():
|
| 51 |
with gr.Column():
|
|
@@ -70,12 +69,12 @@ with demo:
|
|
| 70 |
|
| 71 |
## guiline
|
| 72 |
gr.Markdown(value="""
|
| 73 |
-
|
| 74 |
1. Upload your image or select one from the examples.
|
| 75 |
2. Set up the arguments: "Num. of anchors" and "Colorization resolution".
|
| 76 |
3. Run the colorization (two modes supported):
|
| 77 |
-
-
|
| 78 |
-
-
|
| 79 |
""")
|
| 80 |
if RUN_MODE != "local":
|
| 81 |
gr.Examples(examples=[
|
|
|
|
| 45 |
with demo:
|
| 46 |
gr.Markdown(value="""
|
| 47 |
**Gradio demo for DISCO: Disentangled Image Colorization via Global Anchors**. Check the [project page](https://menghanxia.github.io/projects/disco.html).
|
|
|
|
| 48 |
""")
|
| 49 |
with gr.Row():
|
| 50 |
with gr.Column():
|
|
|
|
| 69 |
|
| 70 |
## guiline
|
| 71 |
gr.Markdown(value="""
|
| 72 |
+
**Guideline**
|
| 73 |
1. Upload your image or select one from the examples.
|
| 74 |
2. Set up the arguments: "Num. of anchors" and "Colorization resolution".
|
| 75 |
3. Run the colorization (two modes supported):
|
| 76 |
+
- Automatic mode: **Click** "Colorize" to get the automatically colorized output.
|
| 77 |
+
- Editable mode: **Check** ""Show editable anchors"; **Click** "Predict anchors"; **Redraw** the anchor colors (only anchor region will be used); **Click** "Colorize" to get the result.
|
| 78 |
""")
|
| 79 |
if RUN_MODE != "local":
|
| 80 |
gr.Examples(examples=[
|