multimodalart HF staff commited on
Commit
5b6c8d5
1 Parent(s): ce1c2ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def infer(control_image, prompt, seed=42, randomize_seed=False, width=1024, heig
26
  prompt=prompt,
27
  control_image=control_image,
28
  height=width,
29
- width=width,
30
  num_inference_steps=num_inference_steps,
31
  guidance_scale=guidance_scale,
32
  generator=torch.Generator().manual_seed(seed),
 
26
  prompt=prompt,
27
  control_image=control_image,
28
  height=width,
29
+ width=height,
30
  num_inference_steps=num_inference_steps,
31
  guidance_scale=guidance_scale,
32
  generator=torch.Generator().manual_seed(seed),