tidy up generation of prompt when variations in use

This commit is contained in:
Lincoln Stein
2022-09-17 11:59:47 -04:00
parent c94b8cd959
commit 2faa116238
2 changed files with 12 additions and 15 deletions

View File

@@ -101,7 +101,7 @@ class Generator():
next_noise = self.get_noise(width,height)
initial_noise = self.slerp(v_weight, initial_noise, next_noise)
if self.variation_amount > 0:
# random.seed() # reset RNG to an actually random state, so we can get a random seed for variations
random.seed() # reset RNG to an actually random state, so we can get a random seed for variations
seed = random.randrange(0,np.iinfo(np.uint32).max)
return (seed, initial_noise)
else: