cavargas10 commited on
Commit
48e9d76
·
verified ·
1 Parent(s): f42123f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -214,7 +214,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
214
  with gr.Row():
215
  with gr.Column():
216
  with gr.Column():
217
- image_prompt = gr.ImageMask(label="Input sketch", type="pil", image_mode="RGB", height=512, value={"background":Image.new("RGB", (512, 512), (255, 255, 255)), "layers":[Image.new("RGB", (512, 512), (255, 255, 255))], "composite":Image.new("RGB", (512, 512), (255, 255, 255))})
218
  with gr.Row():
219
  sketch_btn = gr.Button("process sketch")
220
  generate_btn = gr.Button("Generate 3D")
 
214
  with gr.Row():
215
  with gr.Column():
216
  with gr.Column():
217
+ image_prompt = gr.ImageEditor(label="Input sketch", type="pil", image_mode="RGB", height=512, value={"background":Image.new("RGB", (512, 512), (255, 255, 255)), "layers":[Image.new("RGB", (512, 512), (255, 255, 255))], "composite":Image.new("RGB", (512, 512), (255, 255, 255))})
218
  with gr.Row():
219
  sketch_btn = gr.Button("process sketch")
220
  generate_btn = gr.Button("Generate 3D")