sergeipetrov commited on
Commit
58c4864
1 Parent(s): b2d28b7

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -29,7 +29,7 @@ class EndpointHandler():
29
  # fix the seed
30
  generator = torch.Generator(device="cuda").manual_seed(0)
31
 
32
- image = pipe(
33
  prompt=prompt,
34
  image=image,
35
  mask_image=mask,
 
29
  # fix the seed
30
  generator = torch.Generator(device="cuda").manual_seed(0)
31
 
32
+ image = self.pipeline(
33
  prompt=prompt,
34
  image=image,
35
  mask_image=mask,