Skip to content

Commit 0fde1f3

Browse files
committed
oh hey i broke batches with this
1 parent cde49dc commit 0fde1f3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎modules/prompt_parser.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def get_learned_conditioning_prompt_schedules(prompts, steps):
3434
cached = cache.get(prompt, None)
3535
if cached is not None:
3636
res.append(cached)
37+
continue
3738

3839
for m in re_prompt.finditer(prompt):
3940
plaintext = m.group(1) if m.group(5) is None else m.group(5)
@@ -97,6 +98,7 @@ def get_learned_conditioning(prompts, steps):
9798
cached = cache.get(prompt, None)
9899
if cached is not None:
99100
res.append(cached)
101+
continue
100102

101103
texts = [x[1] for x in prompt_schedule]
102104
conds = shared.sd_model.get_learned_conditioning(texts)

0 commit comments

Comments
 (0)