svjack commited on
Commit
c29bc60
·
1 Parent(s): 15e67c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -341,8 +341,8 @@ with gr.Blocks(css="custom.css") as demo:
341
  )
342
  choose_model = gr.Radio(choices=["0", "1", "2", "3"],
343
  value="0", label="Choose embedding layer", elem_id="layer_radio")
344
- g_outputs = gr.Gallery(label='Output gallery', elem_id="gallery",).style(grid=5,height=768 + 64 + 32,
345
- allow_preview=False, label = "retrieve Images")
346
  with gr.Row():
347
  with gr.Tab(label = "Download"):
348
  zip_button = gr.Button("Zip Images to Download", elem_id="zip_button")
 
341
  )
342
  choose_model = gr.Radio(choices=["0", "1", "2", "3"],
343
  value="0", label="Choose embedding layer", elem_id="layer_radio")
344
+ g_outputs = gr.Gallery(label='Output gallery', elem_id="gallery",
345
+ columns=[5],object_fit="contain", height="auto")
346
  with gr.Row():
347
  with gr.Tab(label = "Download"):
348
  zip_button = gr.Button("Zip Images to Download", elem_id="zip_button")