takuma104 commited on
Commit
8c7f8f2
β€’
1 Parent(s): 88a31cb

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
27
  pipe.enable_xformers_memory_efficient_attention()
28
 
29
  # Generator seed,
30
- generator = torch.manual_seed(0)
31
 
32
  negative_prompt = ("worst quality, low quality, lowres, bad anatomy, bad hands, "
33
  "missing fingers, extra digit, fewer digits")
@@ -52,7 +52,7 @@ def generate_images(pose_image, canny_image, prompt):
52
  negative_prompt=negative_prompt,
53
  image=[pose_image, canny_image],
54
  generator=generator,
55
- num_images_per_prompt=3,
56
  num_inference_steps=20,
57
  )
58
  all_outputs = []
 
27
  pipe.enable_xformers_memory_efficient_attention()
28
 
29
  # Generator seed,
30
+ generator = torch.manual_seed(1)
31
 
32
  negative_prompt = ("worst quality, low quality, lowres, bad anatomy, bad hands, "
33
  "missing fingers, extra digit, fewer digits")
 
52
  negative_prompt=negative_prompt,
53
  image=[pose_image, canny_image],
54
  generator=generator,
55
+ num_images_per_prompt=2,
56
  num_inference_steps=20,
57
  )
58
  all_outputs = []