aboutsummaryrefslogtreecommitdiff
path: root/modules/processing.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-18 20:55:55 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-18 20:55:55 +0300
commit21086e60a9e4ad6f677ccc7719be651356c18a2e (patch)
treeb796f46ddb07d4474031fcf20e731ac81a2e4534 /modules/processing.py
parentcae5c5fa8d88a6d4206ec7d89e53685d53afe4c0 (diff)
parent4380b6598c799236bbcf6ddb393570e38e6c8930 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 39029e8e..b237b3c5 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -102,7 +102,7 @@ class Processed:
"prompt": self.prompt if type(self.prompt) != list else self.prompt[0],
"negative_prompt": self.negative_prompt if type(self.negative_prompt) != list else self.negative_prompt[0],
"seed": int(self.seed if type(self.seed) != list else self.seed[0]),
- "subseed": int(self.subseed if type(self.subseed) != list else self.subseed[0]),
+ "subseed": int(self.subseed if type(self.subseed) != list else self.subseed[0]) if self.subseed is not None else -1,
"subseed_strength": self.subseed_strength,
"width": self.width,
"height": self.height,