Spaces:
Runtime error
Runtime error
RashiAgarwal
commited on
Commit
·
837ae5d
1
Parent(s):
4f459b7
Update app.py
Browse files
app.py
CHANGED
@@ -141,8 +141,8 @@ def get_points_with_draw(image, label, evt: gr.SelectData):
|
|
141 |
return image
|
142 |
|
143 |
|
144 |
-
cond_img_e = gr.Image(label="Input", value=default_example[
|
145 |
-
cond_img_p = gr.Image(label="Input with points", value=default_example[
|
146 |
cond_img_t = gr.Image(label="Input with text", value="examples/cars.jpg", type='pil')
|
147 |
|
148 |
segm_img_e = gr.Image(label="Segmented Image", interactive=False, type='pil')
|
|
|
141 |
return image
|
142 |
|
143 |
|
144 |
+
cond_img_e = gr.Image(label="Input", value=default_example[0], type='pil')
|
145 |
+
cond_img_p = gr.Image(label="Input with points", value=default_example[0], type='pil')
|
146 |
cond_img_t = gr.Image(label="Input with text", value="examples/cars.jpg", type='pil')
|
147 |
|
148 |
segm_img_e = gr.Image(label="Segmented Image", interactive=False, type='pil')
|