Spaces:
Build error
Build error
s194649
commited on
Commit
·
5de47c9
1
Parent(s):
ae07495
5 cols
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ with gr.Blocks() as demo:
|
|
| 11 |
cats = glob(model+"/*")
|
| 12 |
for cat in cats:
|
| 13 |
with gr.Tab(cat.split("/")[-1]) as tab:
|
| 14 |
-
gallery = gr.Gallery(value=glob(os.path.join(cat, "*.jpg")),label="Generated images", show_label=False, elem_id="gallery",columns=[
|
| 15 |
|
| 16 |
|
| 17 |
|
|
|
|
| 11 |
cats = glob(model+"/*")
|
| 12 |
for cat in cats:
|
| 13 |
with gr.Tab(cat.split("/")[-1]) as tab:
|
| 14 |
+
gallery = gr.Gallery(value=glob(os.path.join(cat, "*.jpg")),label="Generated images", show_label=False, elem_id="gallery",columns=[5], rows=[1], object_fit="contain", height="auto")
|
| 15 |
|
| 16 |
|
| 17 |
|