mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-29 18:51:37 +00:00
Fix docker command to work better with runpod
This commit is contained in:
@@ -771,7 +771,7 @@ class InpaintControlFileItemDTOMixin:
|
||||
img = Image.open(self.inpaint_path)
|
||||
# make sure has aplha
|
||||
if img.mode != 'RGBA':
|
||||
raise ValueError(f"Image must have alpha channel for inpaint: {self.inpaint_path}")
|
||||
return
|
||||
img = exif_transpose(img)
|
||||
|
||||
w, h = img.size
|
||||
|
||||
Reference in New Issue
Block a user