linoyts HF staff commited on
Commit
00d56f0
1 Parent(s): ad57993

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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,