ariG23498 HF staff commited on
Commit
67c8755
·
verified ·
1 Parent(s): 2454249

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,8 +33,8 @@ def generate(prompt, input_image):
33
  guidance_scale=30.,
34
  num_inference_steps=8,
35
  max_sequence_length=512,
36
- height=image.height,
37
- width=image.width,
38
  generator=torch.manual_seed(0)
39
  ).images[0]
40
 
 
33
  guidance_scale=30.,
34
  num_inference_steps=8,
35
  max_sequence_length=512,
36
+ height=input_image.height,
37
+ width=input_image.width,
38
  generator=torch.manual_seed(0)
39
  ).images[0]
40