s194649 commited on
Commit
c5fd61a
1 Parent(s): 5de47c9
Files changed (1) hide show
  1. app.py +7 -1
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")),label="Generated images", show_label=False, elem_id="gallery",columns=[5], rows=[1], object_fit="contain", height="auto")
 
 
 
 
 
 
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