bklg commited on
Commit
acb3f35
1 Parent(s): 0299c40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -270,8 +270,8 @@ def get_points_with_draw(image, label, evt: gr.SelectData):
270
 
271
  cond_img_p = gr.Image(label="Input with points", value="examples/dogs.jpg", type='pil')
272
  cond_img_t = gr.Image(label="Input with text", value="examples/dogs.jpg", type='pil')
273
- # cond_img_b = gr.Image(label="Input with box", type="pil",tool='sketch')
274
- cond_img_b = gr.Image(label="Input with box", type="pil")
275
  img_p = gr.Image(label="Input with points P", type='pil')
276
 
277
  segm_img_p = gr.Image(label="Segmented Image with points", interactive=False, type='pil')
 
270
 
271
  cond_img_p = gr.Image(label="Input with points", value="examples/dogs.jpg", type='pil')
272
  cond_img_t = gr.Image(label="Input with text", value="examples/dogs.jpg", type='pil')
273
+ cond_img_b = gr.Image(label="Input with box", type="pil",tool='sketch')
274
+ # cond_img_b = gr.Image(label="Input with box", type="pil")
275
  img_p = gr.Image(label="Input with points P", type='pil')
276
 
277
  segm_img_p = gr.Image(label="Segmented Image with points", interactive=False, type='pil')