more grammar fixes

This commit is contained in:
XDOneDude
2023-08-18 21:56:15 -04:00
parent 956e1d8d90
commit 61c1261e4e
2 changed files with 13 additions and 13 deletions

View File

@@ -86,7 +86,7 @@ def get_learned_conditioning_prompt_schedules(prompts, steps):
yield args[(step - 1) % len(args)]
def start(self, args):
def flatten(x):
if type(x) == str:
if isinstance(x, str):
yield x
else:
for gen in x: