multimodalart HF Staff commited on
Commit
10af042
·
verified ·
1 Parent(s): 5b6c8d5

Update app.py

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