Skip to content

Commit

Permalink
fix error when inpainting using runwayml inpainting model (#1634)
Browse files Browse the repository at this point in the history
- error was "Omnibus object has no attribute pil_image"
- closes #1596
  • Loading branch information
lstein committed Nov 30, 2022
1 parent 9b6b27a commit a9aa4e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ldm/invoke/generator/omnibus.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
class Omnibus(Img2Img,Txt2Img):
def __init__(self, model, precision):
super().__init__(model, precision)
self.pil_mask = None
self.pil_image = None

def get_make_image(
self,
Expand Down

0 comments on commit a9aa4e4

Please sign in to comment.