Update app.py
Browse files
app.py
CHANGED
@@ -260,7 +260,7 @@ with block:
|
|
260 |
gr.Markdown("## Inpaint \n<p>Mochi Diffusion v4.1γ§δ½Ώγγγγγ«γͺγγΎγγ")
|
261 |
with gr.Row():
|
262 |
with gr.Column():
|
263 |
-
input_image = gr.ImageEditor(sources="upload", type="numpy", height=512,
|
264 |
# input_image = gr.Image(source='upload', type="numpy", tool="sketch", height=512)
|
265 |
# resolution = gr.Slider(label="resolution", minimum=256, maximum=1024, value=512, step=64)
|
266 |
invert = gr.Checkbox(label='Invert Mask', value=False)
|
|
|
260 |
gr.Markdown("## Inpaint \n<p>Mochi Diffusion v4.1γ§δ½Ώγγγγγ«γͺγγΎγγ")
|
261 |
with gr.Row():
|
262 |
with gr.Column():
|
263 |
+
input_image = gr.ImageEditor(sources="upload", type="numpy", height=512, layers="None")
|
264 |
# input_image = gr.Image(source='upload', type="numpy", tool="sketch", height=512)
|
265 |
# resolution = gr.Slider(label="resolution", minimum=256, maximum=1024, value=512, step=64)
|
266 |
invert = gr.Checkbox(label='Invert Mask', value=False)
|