Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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')
|