smartdigitalnetworks commited on
Commit
856f29c
·
verified ·
1 Parent(s): 1570582

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ device="cpu"
19
  pipe = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", use_auth_token=YOUR_TOKEN)
20
  pipe.to(device)
21
 
22
- gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[2], height="auto")
23
 
24
  def infer(prompt):
25
 
 
19
  pipe = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", use_auth_token=YOUR_TOKEN)
20
  pipe.to(device)
21
 
22
+ gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery", columns=[2], height="auto")
23
 
24
  def infer(prompt):
25