Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
c3be3d36
Unverified
Commit
c3be3d36
authored
Sep 18, 2022
by
AUTOMATIC1111
Committed by
GitHub
Sep 18, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #667 from berkybear/fixSubSeedNoneTypeIssue
handle NoneType when subseed is not initialized
parents
c76a616b
4c17ce49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
processing.py
modules/processing.py
+1
-1
No files found.
modules/processing.py
View file @
c3be3d36
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment