Skip to content

Commit

Permalink
fix bug that caused same seed to be redisplayed repeatedly
Browse files Browse the repository at this point in the history
  • Loading branch information
lstein committed Sep 8, 2022
1 parent 56f155c commit 5c6b612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldm/dream/server.py
Expand Up @@ -99,7 +99,7 @@ def do_POST(self):
upscale_strength = post_data['upscale_strength']
upscale = [int(upscale_level),float(upscale_strength)] if upscale_level != '' else None
progress_images = 'progress_images' in post_data
seed = self.model.seed if int(post_data['seed']) == -1 else int(post_data['seed'])
seed = None if int(post_data['seed']) == -1 else int(post_data['seed'])

if with_variations != '':
parts = []
Expand Down

0 comments on commit 5c6b612

Please sign in to comment.