diff options
author | papuSpartan <30642826+papuSpartan@users.noreply.github.com> | 2022-11-01 19:05:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 19:05:57 +0000 |
commit | d0d74e459dee07fdb63783812a1a442d03fbe54f (patch) | |
tree | 18e08ec3d8c0450a6328aae0355403854944cd02 /modules/sd_hijack.py | |
parent | 401350cd59555439570ba5bc95f0ac5698e372e4 (diff) | |
parent | 198a1ffcfc963a3d74674fad560e87dbebf7949f (diff) | |
download | stable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.tar.gz stable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.tar.bz2 stable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.zip |
Merge branch 'AUTOMATIC1111:master' into js
Diffstat (limited to 'modules/sd_hijack.py')
-rw-r--r-- | modules/sd_hijack.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/sd_hijack.py b/modules/sd_hijack.py index 0f10828e..bc49d235 100644 --- a/modules/sd_hijack.py +++ b/modules/sd_hijack.py @@ -94,6 +94,10 @@ class StableDiffusionModelHijack: if type(model_embeddings.token_embedding) == EmbeddingsWithFixes:
model_embeddings.token_embedding = model_embeddings.token_embedding.wrapped
+ self.layers = None
+ self.circular_enabled = False
+ self.clip = None
+
def apply_circular(self, enable):
if self.circular_enabled == enable:
return
|