Fix docker command to work better with runpod
This commit is contained in:
1 parent
5365200da1
commit
1d5f387f54
4 files changed
+78
-3
No files matched your search
@@ -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