mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix up bad unicode chars in invoke.py
This commit is contained in:
parent
ed943bd6c7
commit
ff56f5251b
@ -214,9 +214,9 @@ def main_loop(gen, opt):
|
|||||||
|
|
||||||
# retrieve previous value of seed if requested
|
# retrieve previous value of seed if requested
|
||||||
# Exception: for postprocess operations negative seed values
|
# Exception: for postprocess operations negative seed values
|
||||||
 # mean "discard the original seed and generate a new one"
|
# mean "discard the original seed and generate a new one"
|
||||||
 # (this is a non-obvious hack and needs to be reworked)
|
# (this is a non-obvious hack and needs to be reworked)
|
||||||
 if opt.seed is not None and opt.seed < 0 and operation != 'postprocess':
|
if opt.seed is not None and opt.seed < 0 and operation != 'postprocess':
|
||||||
try:
|
try:
|
||||||
opt.seed = last_results[opt.seed][1]
|
opt.seed = last_results[opt.seed][1]
|
||||||
print(f'>> Reusing previous seed {opt.seed}')
|
print(f'>> Reusing previous seed {opt.seed}')
|
||||||
|
Loading…
Reference in New Issue
Block a user