Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
·
3ec5036
1
Parent(s):
06436de
add exampes
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ with gr.Blocks(css=css) as Kolors:
|
|
103 |
)
|
104 |
with gr.Row():
|
105 |
image = gr.ImageEditor(label='Image', type='pil', image_mode='RGB', layers=False, brush=gr.Brush(colors=["#AAAAAA"], color_mode="fixed"))
|
106 |
-
mask_image = gr.Image(
|
107 |
with gr.Accordion("Advanced Settings", open=False):
|
108 |
negative_prompt = gr.Textbox(
|
109 |
label="Negative prompt",
|
|
|
103 |
)
|
104 |
with gr.Row():
|
105 |
image = gr.ImageEditor(label='Image', type='pil', image_mode='RGB', layers=False, brush=gr.Brush(colors=["#AAAAAA"], color_mode="fixed"))
|
106 |
+
mask_image = gr.Image(label='Mask_Image',type='pil', visible=False, value=None)
|
107 |
with gr.Accordion("Advanced Settings", open=False):
|
108 |
negative_prompt = gr.Textbox(
|
109 |
label="Negative prompt",
|