From 5c6b612a722ff9cde1a5ddf9b29874842f1d5a26 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Wed, 7 Sep 2022 22:50:55 -0400 Subject: [PATCH] fix bug that caused same seed to be redisplayed repeatedly --- ldm/dream/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldm/dream/server.py b/ldm/dream/server.py index a759648cae1..3b95bf782e5 100644 --- a/ldm/dream/server.py +++ b/ldm/dream/server.py @@ -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 = []