Spaces:
Runtime error
Runtime error
Minor nits
Browse files
app.py
CHANGED
@@ -117,6 +117,9 @@ def run(
|
|
117 |
|
118 |
with gr.Blocks(css="style.css") as demo:
|
119 |
gr.Markdown(DESCRIPTION)
|
|
|
|
|
|
|
120 |
gr.DuplicateButton(
|
121 |
value="Duplicate Space for private use",
|
122 |
elem_id="duplicate-button",
|
@@ -141,7 +144,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
141 |
height=500,
|
142 |
)
|
143 |
unknown_mask = gr.Image(
|
144 |
-
label="
|
145 |
tool="sketch",
|
146 |
type="numpy",
|
147 |
brush_color="green",
|
|
|
117 |
|
118 |
with gr.Blocks(css="style.css") as demo:
|
119 |
gr.Markdown(DESCRIPTION)
|
120 |
+
gr.Markdown("This is the demo for [ViTMatte](https://github.com/hustvl/ViTMatte), an image matting application. You can matte any subject in a given image.")
|
121 |
+
gr.Markdown("If you wish to replace background of the image, simply select the checkbox and drag and drop your background image.")
|
122 |
+
gr.Markdown("You can draw your own foreground mask and unknown (border) mask using the canvas.")
|
123 |
gr.DuplicateButton(
|
124 |
value="Duplicate Space for private use",
|
125 |
elem_id="duplicate-button",
|
|
|
144 |
height=500,
|
145 |
)
|
146 |
unknown_mask = gr.Image(
|
147 |
+
label="Unknown",
|
148 |
tool="sketch",
|
149 |
type="numpy",
|
150 |
brush_color="green",
|