mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-03-04 18:19:49 +00:00
Dont load image if we are cachine latents
This commit is contained in:
@@ -234,6 +234,7 @@ class ImageProcessingDTOMixin:
|
||||
# if we are caching latents, just do that
|
||||
if self.is_latent_cached:
|
||||
self.get_latent()
|
||||
return
|
||||
try:
|
||||
img = Image.open(self.path).convert('RGB')
|
||||
img = exif_transpose(img)
|
||||
|
||||
Reference in New Issue
Block a user