linoyts HF staff commited on
Commit
dcbd2d4
·
verified ·
1 Parent(s): ae70028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -382,7 +382,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
382
  with gr.Tab(label="Single Image", id=0) as single_image_input_tab:
383
  #image_prompt = gr.Image(label="Image Prompt", format="png", image_mode="RGBA", type="pil", height=300)
384
  with gr.Column():
385
- image_prompt = gr.ImageMask(type="pil", image_mode="L", height=300)
386
  with gr.Row():
387
  sketch_btn = gr.Button("process sketch")
388
  generate_btn = gr.Button("Generate 3D")
 
382
  with gr.Tab(label="Single Image", id=0) as single_image_input_tab:
383
  #image_prompt = gr.Image(label="Image Prompt", format="png", image_mode="RGBA", type="pil", height=300)
384
  with gr.Column():
385
+ image_prompt = gr.ImageMask(type="pil", height=512)
386
  with gr.Row():
387
  sketch_btn = gr.Button("process sketch")
388
  generate_btn = gr.Button("Generate 3D")