Update sd_hijack.py
Browse files- sd_hijack.py +1 -1
sd_hijack.py
CHANGED
@@ -80,7 +80,7 @@ class StableDiffusionModelHijack:
|
|
80 |
|
81 |
embedding_db = modules.textual_inversion.textual_inversion.EmbeddingDatabase(cmd_opts.embeddings_dir)
|
82 |
|
83 |
-
|
84 |
|
85 |
if type(m.cond_stage_model) == ldm.modules.encoders.modules.FrozenCLIPEmbedder:
|
86 |
if use_improved_clip:
|
|
|
80 |
|
81 |
embedding_db = modules.textual_inversion.textual_inversion.EmbeddingDatabase(cmd_opts.embeddings_dir)
|
82 |
|
83 |
+
def hijack(self, m, use_improved_clip=True):
|
84 |
|
85 |
if type(m.cond_stage_model) == ldm.modules.encoders.modules.FrozenCLIPEmbedder:
|
86 |
if use_improved_clip:
|