fix up bad unicode chars in invoke.py

This commit is contained in:
Lincoln Stein 2022-11-12 17:03:21 +00:00
parent ed943bd6c7
commit ff56f5251b

View File

@ -214,9 +214,9 @@ def main_loop(gen, opt):
# retrieve previous value of seed if requested
# Exception: for postprocess operations negative seed values
# mean "discard the original seed and generate a new one"
# (this is a non-obvious hack and needs to be reworked)
if opt.seed is not None and opt.seed < 0 and operation != 'postprocess':
# mean "discard the original seed and generate a new one"
# (this is a non-obvious hack and needs to be reworked)
if opt.seed is not None and opt.seed < 0 and operation != 'postprocess':
try:
opt.seed = last_results[opt.seed][1]
print(f'>> Reusing previous seed {opt.seed}')