verkaDerkaDerk commited on
Commit
6bef3fe
1 Parent(s): 4835551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ def imagine():
12
  return image
13
 
14
  def main():
15
- if not True:
16
  # try some https://huggingface.co/spaces/stabilityai/stable-diffusion/blob/main/app.py trix
17
  block = gr.Blocks()
18
  with block:
@@ -30,7 +30,7 @@ def main():
30
  btn.click(imagine, inputs=None, outputs=gallery)
31
  gallery = gr.Gallery(
32
  label="Generated images", show_label=False, elem_id="gallery"
33
- ).style(grid=[1], height="auto")
34
  btn.click(imagine, inputs=None, outputs=gallery)
35
  gr.HTML('''
36
  Trained with <a href="https://github.com/huggingface/diffusers">diffusers</a>.
 
12
  return image
13
 
14
  def main():
15
+ if True:
16
  # try some https://huggingface.co/spaces/stabilityai/stable-diffusion/blob/main/app.py trix
17
  block = gr.Blocks()
18
  with block:
 
30
  btn.click(imagine, inputs=None, outputs=gallery)
31
  gallery = gr.Gallery(
32
  label="Generated images", show_label=False, elem_id="gallery"
33
+ ).style(grid=[1], height="128px")
34
  btn.click(imagine, inputs=None, outputs=gallery)
35
  gr.HTML('''
36
  Trained with <a href="https://github.com/huggingface/diffusers">diffusers</a>.