prithivMLmods commited on
Commit
bdf5103
·
verified ·
1 Parent(s): e01e01c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, negative_prompt="") # Add default negative prompt
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.