Spaces:
Build error
Build error
s194649 commited on
Commit ·
c5fd61a
1
Parent(s): 5de47c9
restart
Browse files
app.py
CHANGED
|
@@ -11,7 +11,13 @@ 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")),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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")),
|
| 15 |
+
label="Generated images",
|
| 16 |
+
show_label=False, elem_id="gallery",
|
| 17 |
+
columns=[5],
|
| 18 |
+
rows=[1],
|
| 19 |
+
object_fit="contain",
|
| 20 |
+
height="auto")
|
| 21 |
|
| 22 |
|
| 23 |
|