Spaces:
Sleeping
Sleeping
Bismay
commited on
Commit
·
eb5e343
1
Parent(s):
9c5e178
fix gallery bug
Browse files
app.py
CHANGED
@@ -405,9 +405,9 @@ def create_interface():
|
|
405 |
show_label=True,
|
406 |
elem_id="gallery",
|
407 |
columns=3,
|
408 |
-
height="auto"
|
|
|
409 |
)
|
410 |
-
output_gallery.style(grid=3, height="auto")
|
411 |
|
412 |
# Example Image Loading
|
413 |
def load_example():
|
|
|
405 |
show_label=True,
|
406 |
elem_id="gallery",
|
407 |
columns=3,
|
408 |
+
height="auto",
|
409 |
+
object_fit="contain"
|
410 |
)
|
|
|
411 |
|
412 |
# Example Image Loading
|
413 |
def load_example():
|