Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -47,7 +47,7 @@ class EndpointHandler():
|
|
47 |
latents_dist = vae.encode(latents).latent_dist.sample() * vae.config.scaling_factor
|
48 |
|
49 |
self.smooth_pipe.enable_xformers_memory_efficient_attention()
|
50 |
-
out = self.smooth_pipe(prompt, image=latents_dist).images
|
51 |
|
52 |
return out
|
53 |
|
|
|
47 |
latents_dist = vae.encode(latents).latent_dist.sample() * vae.config.scaling_factor
|
48 |
|
49 |
self.smooth_pipe.enable_xformers_memory_efficient_attention()
|
50 |
+
out = self.smooth_pipe(prompt, image=latents_dist).images
|
51 |
|
52 |
return out
|
53 |
|