noni27 commited on
Commit
1b09f65
·
verified ·
1 Parent(s): fdc6af0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -285,8 +285,8 @@ with image_blocks as demo:
285
  # text_prompt = gr.Textbox(lines=1, label="Prompt")
286
  btn = gr.Button(value="Submit")
287
  with gr.Column():
288
- image_out_seg = gr.Image(label="Segmented object", height=512, width=512)
289
- image_out_shift = gr.Image(label="Shifted object", height=512, width=512)
290
 
291
  btn.click(fn=main_fun, inputs=[image, x_units, y_units, text_prompt, box_threshold, text_threshold, inpaint_text_prompt, num_inference_steps], outputs=[image_out_seg, image_out_shift])
292
 
 
285
  # text_prompt = gr.Textbox(lines=1, label="Prompt")
286
  btn = gr.Button(value="Submit")
287
  with gr.Column():
288
+ image_out_seg = gr.Image(label="Segmented object", height=400, width=400)
289
+ image_out_shift = gr.Image(label="Shifted object", height=400, width=400)
290
 
291
  btn.click(fn=main_fun, inputs=[image, x_units, y_units, text_prompt, box_threshold, text_threshold, inpaint_text_prompt, num_inference_steps], outputs=[image_out_seg, image_out_shift])
292