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
ccaacb18
Unverified
Commit
ccaacb18
authored
Dec 24, 2022
by
AUTOMATIC1111
Committed by
GitHub
Dec 24, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5979 from linuxmobile/master
Removed lenght in sd_model at line 115
parents
ca162781
5a650055
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
sd_models.py
modules/sd_models.py
+0
-3
No files found.
modules/sd_models.py
View file @
ccaacb18
...
@@ -111,9 +111,6 @@ def model_hash(filename):
...
@@ -111,9 +111,6 @@ def model_hash(filename):
def
select_checkpoint
():
def
select_checkpoint
():
model_checkpoint
=
shared
.
opts
.
sd_model_checkpoint
model_checkpoint
=
shared
.
opts
.
sd_model_checkpoint
if
len
(
model_checkpoint
)
==
0
:
model_checkpoint
=
shared
.
default_sd_model_file
checkpoint_info
=
checkpoints_list
.
get
(
model_checkpoint
,
None
)
checkpoint_info
=
checkpoints_list
.
get
(
model_checkpoint
,
None
)
if
checkpoint_info
is
not
None
:
if
checkpoint_info
is
not
None
:
...
...
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