mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix hang during GFPGAN processing due to bug introduced by recent removal of batch_size arg from pngwriter
This commit is contained in:
parent
3be1cee17c
commit
c83d01b369
@ -65,6 +65,8 @@ class PngWriter:
|
|||||||
series += 1
|
series += 1
|
||||||
filename = f'{basecount:06}.{seed}.png'
|
filename = f'{basecount:06}.{seed}.png'
|
||||||
path = os.path.join(self.outdir, filename)
|
path = os.path.join(self.outdir, filename)
|
||||||
|
if os.path.exists(path) and upscaled:
|
||||||
|
break
|
||||||
finished = not os.path.exists(path)
|
finished = not os.path.exists(path)
|
||||||
return os.path.join(self.outdir, filename)
|
return os.path.join(self.outdir, filename)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user