mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
* Fallback in case we don't have get_noise() (using the base class for some reason...)
This commit is contained in:
parent
4a5a228fd8
commit
2a292d5b82
@ -66,7 +66,10 @@ class Generator():
|
||||
x_T = initial_noise
|
||||
else:
|
||||
seed_everything(seed)
|
||||
x_T = self.get_noise(width,height)
|
||||
try:
|
||||
x_T = self.get_noise(width,height)
|
||||
except:
|
||||
pass
|
||||
|
||||
image = make_image(x_T)
|
||||
results.append([image, seed])
|
||||
|
Loading…
Reference in New Issue
Block a user