aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_hijack_clip_old.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sd_hijack_clip_old.py')
-rw-r--r--modules/sd_hijack_clip_old.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_hijack_clip_old.py b/modules/sd_hijack_clip_old.py
index c5c6270b..43e9b952 100644
--- a/modules/sd_hijack_clip_old.py
+++ b/modules/sd_hijack_clip_old.py
@@ -32,7 +32,7 @@ def process_text_old(self: sd_hijack_clip.FrozenCLIPEmbedderWithCustomWordsBase,
embedding, embedding_length_in_tokens = self.hijack.embedding_db.find_embedding_at_position(tokens, i)
- mult_change = self.token_mults.get(token) if shared.opts.enable_emphasis else None
+ mult_change = self.token_mults.get(token) if shared.opts.emphasis != "None" else None
if mult_change is not None:
mult *= mult_change
i += 1