FoodDesert commited on
Commit
43765e1
·
verified ·
1 Parent(s): 0e90e67

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -485,8 +485,8 @@ with gr.Blocks() as app:
485
  for root, dirs, files in os.walk(sample_images_directory_path):
486
  for name in dirs:
487
  with gr.Row():
488
- baseline = gr.Gallery(rows=1, columns=1, height=420, scale=3)
489
- styles = gr.Gallery(rows=2, columns=5, height=420, scale=8)
490
  galleries.extend([baseline, styles])
491
 
492
  submit_button.click(
 
485
  for root, dirs, files in os.walk(sample_images_directory_path):
486
  for name in dirs:
487
  with gr.Row():
488
+ baseline = gr.Gallery(preview=True, rows=1, columns=1, height=420, scale=3)
489
+ styles = gr.Gallery(preview=True, rows=2, columns=5, height=420, scale=8)
490
  galleries.extend([baseline, styles])
491
 
492
  submit_button.click(