mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
lint: formatting
This commit is contained in:
parent
4f0e43ec1b
commit
811c82a677
@ -522,7 +522,9 @@ class LatentsToImageInvocation(BaseInvocation):
|
|||||||
except AttributeError as err:
|
except AttributeError as err:
|
||||||
# FIXME: This is a TEMPORARY measure until AutoencoderTiny gets tiling support from https://github.com/huggingface/diffusers/pull/4627
|
# FIXME: This is a TEMPORARY measure until AutoencoderTiny gets tiling support from https://github.com/huggingface/diffusers/pull/4627
|
||||||
if err.name.endswith("_tiling"):
|
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:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
@ -719,7 +721,9 @@ class ImageToLatentsInvocation(BaseInvocation):
|
|||||||
except AttributeError as err:
|
except AttributeError as err:
|
||||||
# FIXME: This is a TEMPORARY measure until AutoencoderTiny gets tiling support from https://github.com/huggingface/diffusers/pull/4627
|
# FIXME: This is a TEMPORARY measure until AutoencoderTiny gets tiling support from https://github.com/huggingface/diffusers/pull/4627
|
||||||
if err.name.endswith("_tiling"):
|
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:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user