Spaces:
Sleeping
Sleeping
added px to height value
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ with gr.Blocks(title=title) as demo:
|
|
| 91 |
|
| 92 |
with gr.Column(variant="compact"):
|
| 93 |
gr.Markdown("## Results")
|
| 94 |
-
gallery = gr.Gallery(label="found images", show_label=True, elem_id="gallery", columns=[2], rows=[4], object_fit="contain", height="
|
| 95 |
gr.Markdown("Information of the found images")
|
| 96 |
df = gr.DataFrame()
|
| 97 |
btn.click(main, [query, n_s], [gallery, df])
|
|
|
|
| 91 |
|
| 92 |
with gr.Column(variant="compact"):
|
| 93 |
gr.Markdown("## Results")
|
| 94 |
+
gallery = gr.Gallery(label="found images", show_label=True, elem_id="gallery", columns=[2], rows=[4], object_fit="contain", height="400px", preview=True)
|
| 95 |
gr.Markdown("Information of the found images")
|
| 96 |
df = gr.DataFrame()
|
| 97 |
btn.click(main, [query, n_s], [gallery, df])
|