awacke1 commited on
Commit
7cfa90d
1 Parent(s): aab362b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -90,7 +90,8 @@ with gr.Blocks(css=css) as demo:
90
  )
91
  diffuse_btn = gr.Button(value="🏭 Render Images for My Prompts")
92
  with gr.Column(elem_id="generated-gallery"):
93
- sd_output = gr.Gallery().style(grid=2, height="auto")
 
94
  with gr.Group(elem_id="share-btn-container"):
95
  # If you have HTML content for these icons, you can include it here
96
  community_icon = gr.HTML("", visible=False)
 
90
  )
91
  diffuse_btn = gr.Button(value="🏭 Render Images for My Prompts")
92
  with gr.Column(elem_id="generated-gallery"):
93
+ # Pass styling parameters directly to gr.Gallery
94
+ sd_output = gr.Gallery(columns=2, height="auto")
95
  with gr.Group(elem_id="share-btn-container"):
96
  # If you have HTML content for these icons, you can include it here
97
  community_icon = gr.HTML("", visible=False)