Spaces:
Paused
Paused
P01yH3dr0n
commited on
Commit
•
77d81a4
1
Parent(s):
f5f05d8
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def control_ui():
|
|
72 |
with gr.Row():
|
73 |
use_inp = gr.Checkbox(label='启用', value=False)
|
74 |
overlay = gr.Checkbox(label='覆盖原图', value=True)
|
75 |
-
inp_img = gr.ImageEditor(label="上传图片", value=None, sources=["upload"], interactive=True, type="pil", eraser=False, transforms=None, brush=
|
76 |
with gr.Column():
|
77 |
gr.Textbox(value=get_count, label='Usage count', every=10)
|
78 |
save = gr.Checkbox(value=True, label='Always save all generated images')
|
|
|
72 |
with gr.Row():
|
73 |
use_inp = gr.Checkbox(label='启用', value=False)
|
74 |
overlay = gr.Checkbox(label='覆盖原图', value=True)
|
75 |
+
inp_img = gr.ImageEditor(label="上传图片", value=None, sources=["upload"], interactive=True, type="pil", eraser=False, transforms=None, brush="imagemask")
|
76 |
with gr.Column():
|
77 |
gr.Textbox(value=get_count, label='Usage count', every=10)
|
78 |
save = gr.Checkbox(value=True, label='Always save all generated images')
|