Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
80e1644
1
Parent(s):
1cc99c6
22
Browse files
app.py
CHANGED
|
@@ -204,10 +204,9 @@ with gr.Blocks() as demo:
|
|
| 204 |
gr.HTML(read_file("static/header.html"))
|
| 205 |
with gr.Row():
|
| 206 |
with gr.Column():
|
| 207 |
-
edit_dict = gr.
|
| 208 |
height=290,
|
| 209 |
sources=['upload', 'clipboard'],
|
| 210 |
-
image_mode='L',
|
| 211 |
type="pil",
|
| 212 |
label="Mask Image"
|
| 213 |
)
|
|
|
|
| 204 |
gr.HTML(read_file("static/header.html"))
|
| 205 |
with gr.Row():
|
| 206 |
with gr.Column():
|
| 207 |
+
edit_dict = gr.ImageMask(
|
| 208 |
height=290,
|
| 209 |
sources=['upload', 'clipboard'],
|
|
|
|
| 210 |
type="pil",
|
| 211 |
label="Mask Image"
|
| 212 |
)
|