Merge pull request #4819 from killfrenzy96/master
Cleanly undo circular hijack to fix tiling getting stuck on #4818
This commit is contained in:
commit
fe03f9903c
|
@ -96,8 +96,8 @@ class StableDiffusionModelHijack:
|
||||||
if type(model_embeddings.token_embedding) == EmbeddingsWithFixes:
|
if type(model_embeddings.token_embedding) == EmbeddingsWithFixes:
|
||||||
model_embeddings.token_embedding = model_embeddings.token_embedding.wrapped
|
model_embeddings.token_embedding = model_embeddings.token_embedding.wrapped
|
||||||
|
|
||||||
|
self.apply_circular(False)
|
||||||
self.layers = None
|
self.layers = None
|
||||||
self.circular_enabled = False
|
|
||||||
self.clip = None
|
self.clip = None
|
||||||
|
|
||||||
def apply_circular(self, enable):
|
def apply_circular(self, enable):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user