Merge pull request #4819 from killfrenzy96/master

Cleanly undo circular hijack to fix tiling getting stuck on #4818
This commit is contained in:
AUTOMATIC1111 2022-11-19 13:26:03 +03:00 committed by GitHub
commit fe03f9903c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,8 +96,8 @@ class StableDiffusionModelHijack:
if type(model_embeddings.token_embedding) == EmbeddingsWithFixes:
model_embeddings.token_embedding = model_embeddings.token_embedding.wrapped
self.apply_circular(False)
self.layers = None
self.circular_enabled = False
self.clip = None
def apply_circular(self, enable):