kumahiyo commited on
Commit
4e425e1
1 Parent(s): 7e6f588

fix count of images

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -54,7 +54,7 @@ def draw(data: Data):
54
  pipe = pipe.to('cuda')
55
 
56
  generator = torch.Generator("cuda").manual_seed(seed)
57
- images = pipe(prompt, negative_prompt=n_prompt, guidance_scale=7.5, generator=generator, num_images_per_prompt=3).images
58
 
59
  grid = image_grid(images, rows=2, cols=2)
60
 
 
54
  pipe = pipe.to('cuda')
55
 
56
  generator = torch.Generator("cuda").manual_seed(seed)
57
+ images = pipe(prompt, negative_prompt=n_prompt, guidance_scale=7.5, generator=generator, num_images_per_prompt=4).images
58
 
59
  grid = image_grid(images, rows=2, cols=2)
60