Spaces:
Sleeping
Sleeping
gallery addition
Browse files
app.py
CHANGED
@@ -271,11 +271,14 @@ with image_blocks as demo:
|
|
271 |
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
|
272 |
with gr.Row():
|
273 |
is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=False)
|
274 |
-
|
|
|
|
|
275 |
example = gr.Examples(
|
276 |
inputs=imgs,
|
277 |
-
examples_per_page=
|
278 |
-
examples=human_ex_list
|
|
|
279 |
)
|
280 |
|
281 |
with gr.Column():
|
|
|
271 |
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
|
272 |
with gr.Row():
|
273 |
is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=False)
|
274 |
+
|
275 |
+
gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery", columns=[5], rows=[3], object_fit="contain", height="auto")
|
276 |
+
|
277 |
example = gr.Examples(
|
278 |
inputs=imgs,
|
279 |
+
examples_per_page=4,
|
280 |
+
examples=human_ex_list,
|
281 |
+
gallery
|
282 |
)
|
283 |
|
284 |
with gr.Column():
|