sergeipetrov
commited on
Commit
•
58c4864
1
Parent(s):
b2d28b7
Update handler.py
Browse files- 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 =
|
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,
|