atatakun commited on
Commit
59228af
β€’
1 Parent(s): 6fcda73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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.ImageEditor(sources="upload", type="numpy", height="auto", layers="None", brush=gr.Brush(colors=["#000000"]))
 
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)