Kiwinicki commited on
Commit
8088244
·
verified ·
1 Parent(s): fdbc146

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -86,10 +86,11 @@ def app():
86
  gallery = gr.Gallery(
87
  label="Image Gallery",
88
  value=gallery_images,
89
- columns=3,
90
  rows=2,
91
  height="auto"
92
- ).style(grid=3)
 
93
 
94
  with gr.Column():
95
  output_image = gr.Image(label="Result Image", type="pil")
 
86
  gallery = gr.Gallery(
87
  label="Image Gallery",
88
  value=gallery_images,
89
+ columns=3, # Set number of columns directly in the constructor
90
  rows=2,
91
  height="auto"
92
+ )
93
+
94
 
95
  with gr.Column():
96
  output_image = gr.Image(label="Result Image", type="pil")