jayparmr commited on
Commit
69833c0
1 Parent(s): 4c9bb7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -64,11 +64,8 @@ with block:
64
  )
65
  btn = gr.Button("Generate image")
66
  gallery = gr.Gallery(
67
- label="Generated images", show_label=False, elem_id="gallery", width = 768
68
- )
69
- # gallery = gr.Image(
70
- # label="Generated images", elem_id="gallery", width = 768, height = 536
71
- # )
72
 
73
 
74
  with gr.Row(elem_id="advanced-options"):
 
64
  )
65
  btn = gr.Button("Generate image")
66
  gallery = gr.Gallery(
67
+ label="Generated images", show_label=False, elem_id="gallery", width = 512
68
+ ).style(columns=[2], rows=[2], object_fit="contain", height="auto")
 
 
 
69
 
70
 
71
  with gr.Row(elem_id="advanced-options"):