Spaces:
Runtime error
Runtime error
update app
Browse files
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(
|
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=
|
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 = []
|