aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkillfrenzy96 <evan298@gmail.com>2022-11-18 10:22:55 +0000
committerkillfrenzy96 <evan298@gmail.com>2022-11-18 10:22:55 +0000
commit17e44328204a09653bb89eea18b7b489cc118703 (patch)
treea19474fb89c9782941571a55a1f520628646fc98
parent98947d173e3f1667eba29c904f681047dea9de90 (diff)
downloadstable-diffusion-webui-gfx803-17e44328204a09653bb89eea18b7b489cc118703.tar.gz
stable-diffusion-webui-gfx803-17e44328204a09653bb89eea18b7b489cc118703.tar.bz2
stable-diffusion-webui-gfx803-17e44328204a09653bb89eea18b7b489cc118703.zip
cleanly undo circular hijack #4818
-rw-r--r--modules/sd_hijack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_hijack.py b/modules/sd_hijack.py
index 97979d05..eaedac13 100644
--- a/modules/sd_hijack.py
+++ b/modules/sd_hijack.py
@@ -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):