mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix
This commit is contained in:
parent
7bf0bc5208
commit
f3fad22cb6
@ -311,8 +311,8 @@ class T2I:
|
||||
# --gfpgan wasn't specified, at startup then
|
||||
# the net result is a message gets printed - nothing else happens.
|
||||
if gfpgan_strength is not None and gfpgan_strength > 0.0:
|
||||
image = self.gfpgan.generate(
|
||||
image, gfpgan_strength=gfpgan_strength
|
||||
image = self._run_gfpgan(
|
||||
image, gfpgan_strength
|
||||
)
|
||||
except Exception as e:
|
||||
print(
|
||||
|
Loading…
Reference in New Issue
Block a user