Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -203,7 +203,7 @@ def infer(image, width, height, overlap_percentage, num_inference_steps, resize_
|
|
| 203 |
negative_prompt_embeds,
|
| 204 |
pooled_prompt_embeds,
|
| 205 |
negative_pooled_prompt_embeds,
|
| 206 |
-
) = pipe.encode_prompt(final_prompt, "cuda", True
|
| 207 |
|
| 208 |
# The pipeline expects the `image` and `mask_image` arguments for inpainting/outpainting
|
| 209 |
# `image` should be the canvas with the original image placed.
|
|
|
|
| 203 |
negative_prompt_embeds,
|
| 204 |
pooled_prompt_embeds,
|
| 205 |
negative_pooled_prompt_embeds,
|
| 206 |
+
) = pipe.encode_prompt(final_prompt, "cuda", True)
|
| 207 |
|
| 208 |
# The pipeline expects the `image` and `mask_image` arguments for inpainting/outpainting
|
| 209 |
# `image` should be the canvas with the original image placed.
|