Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -60,6 +60,8 @@ def infer(control_image, prompt, image_2, prompt_2, reference_scale= 0.03 ,
|
|
60 |
joint_attention_kwargs=dict(attention_mask=attention_mask)
|
61 |
images = pipe(
|
62 |
guidance_scale=guidance_scale,
|
|
|
|
|
63 |
num_inference_steps=num_inference_steps,
|
64 |
generator=torch.Generator("cpu").manual_seed(seed),
|
65 |
joint_attention_kwargs=joint_attention_kwargs,
|
|
|
60 |
joint_attention_kwargs=dict(attention_mask=attention_mask)
|
61 |
images = pipe(
|
62 |
guidance_scale=guidance_scale,
|
63 |
+
width=width,
|
64 |
+
height=height,
|
65 |
num_inference_steps=num_inference_steps,
|
66 |
generator=torch.Generator("cpu").manual_seed(seed),
|
67 |
joint_attention_kwargs=joint_attention_kwargs,
|