Skip to content

Commit

Permalink
fix: missed elif - bad unittest coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
provos committed Jun 14, 2024
1 parent 8276700 commit b9080ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inpainting.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def inpaint(self, prompt, negative_prompt, init_image, mask_image,
image = self.inpaint_image2image(
resize_init_image, prompt, negative_prompt,
strength, guidance_scale, num_inference_steps, seed)
if self.model in self.MODELS:
elif self.model in self.MODELS:
image = self.inpaint_diffusers(
resize_init_image, resize_mask_image,
prompt, negative_prompt,
Expand Down

0 comments on commit b9080ed

Please sign in to comment.