karimbenharrak commited on
Commit
06ea6cf
1 Parent(s): 91b2943

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -96,7 +96,7 @@ class EndpointHandler():
96
  self.pipe.enable_xformers_memory_efficient_attention()
97
 
98
  # run inference pipeline
99
- out = self.pipe(prompt=prompt, negative_prompt=negative_prompt, image=image, mask_image=mask_image)
100
 
101
  print("1st pipeline part successful!")
102
 
 
96
  self.pipe.enable_xformers_memory_efficient_attention()
97
 
98
  # run inference pipeline
99
+ out = self.pipe(prompt=prompt, negative_prompt=negative_prompt, image=image, mask_image=mask_image, height=image.heigth, width=image.width)
100
 
101
  print("1st pipeline part successful!")
102