Spaces:
Running
on
Zero
Running
on
Zero
lixiang46
commited on
Commit
•
0a3fff4
1
Parent(s):
40a8669
update
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ css="""
|
|
81 |
}
|
82 |
#col-right {
|
83 |
margin: 0 auto;
|
84 |
-
max-width:
|
85 |
}
|
86 |
"""
|
87 |
|
@@ -102,7 +102,7 @@ with gr.Blocks(css=css) as Kolors:
|
|
102 |
)
|
103 |
with gr.Row():
|
104 |
image = gr.ImageEditor(label='Image', type='pil', image_mode='RGB', layers=False, brush=gr.Brush(colors=["#AAAAAA"], color_mode="fixed"))
|
105 |
-
mask_image = gr.Image(label='
|
106 |
with gr.Accordion("Advanced Settings", open=False):
|
107 |
negative_prompt = gr.Textbox(
|
108 |
label="Negative prompt",
|
|
|
81 |
}
|
82 |
#col-right {
|
83 |
margin: 0 auto;
|
84 |
+
max-width: 700px;
|
85 |
}
|
86 |
"""
|
87 |
|
|
|
102 |
)
|
103 |
with gr.Row():
|
104 |
image = gr.ImageEditor(label='Image', type='pil', image_mode='RGB', layers=False, brush=gr.Brush(colors=["#AAAAAA"], color_mode="fixed"))
|
105 |
+
mask_image = gr.Image(label='Mask_Example',type='pil', visible=False, value=None)
|
106 |
with gr.Accordion("Advanced Settings", open=False):
|
107 |
negative_prompt = gr.Textbox(
|
108 |
label="Negative prompt",
|