lint: formatting

This commit is contained in:
Kevin Turner 2023-08-18 14:06:14 -07:00
parent 4f0e43ec1b
commit 811c82a677

View File

@ -522,7 +522,9 @@ class LatentsToImageInvocation(BaseInvocation):
except AttributeError as err:
# FIXME: This is a TEMPORARY measure until AutoencoderTiny gets tiling support from https://github.com/huggingface/diffusers/pull/4627
if err.name.endswith("_tiling"):
InvokeAILogger.getLogger(self.__class__.__name__).debug("ignoring tiling error for %s", vae.__class__, exc_info=err)
InvokeAILogger.getLogger(self.__class__.__name__).debug(
"ignoring tiling error for %s", vae.__class__, exc_info=err
)
else:
raise
@ -719,7 +721,9 @@ class ImageToLatentsInvocation(BaseInvocation):
except AttributeError as err:
# FIXME: This is a TEMPORARY measure until AutoencoderTiny gets tiling support from https://github.com/huggingface/diffusers/pull/4627
if err.name.endswith("_tiling"):
InvokeAILogger.getLogger(self.__class__.__name__).debug("ignoring tiling error for %s", vae.__class__, exc_info=err)
InvokeAILogger.getLogger(self.__class__.__name__).debug(
"ignoring tiling error for %s", vae.__class__, exc_info=err
)
else:
raise