cryptom commited on
Commit
42d9957
1 Parent(s): 71f792c

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -39,7 +39,7 @@ class EndpointHandler:
39
  init_image.thumbnail((width, height))
40
 
41
  generator = torch.Generator(device="cuda").manual_seed(seed)
42
- images = self.pipe(prompts, init_image=init_image,generator = generator, **data).images
43
  img_strs = []
44
 
45
  for image in images:
 
39
  init_image.thumbnail((width, height))
40
 
41
  generator = torch.Generator(device="cuda").manual_seed(seed)
42
+ images = self.pipe(prompts, image=init_image,generator = generator, **data).images
43
  img_strs = []
44
 
45
  for image in images: