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