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
4794202e
Commit
4794202e
authored
Sep 30, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hello #1109
parent
ac21d308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ldsr_model.py
modules/ldsr_model.py
+1
-1
No files found.
modules/ldsr_model.py
View file @
4794202e
...
@@ -24,7 +24,7 @@ class UpscalerLDSR(Upscaler):
...
@@ -24,7 +24,7 @@ class UpscalerLDSR(Upscaler):
def
load_model
(
self
,
path
:
str
):
def
load_model
(
self
,
path
:
str
):
model
=
load_file_from_url
(
url
=
self
.
model_url
,
model_dir
=
self
.
model_path
,
model
=
load_file_from_url
(
url
=
self
.
model_url
,
model_dir
=
self
.
model_path
,
file_name
=
"model.pth"
,
progress
=
True
)
file_name
=
"model.pth"
,
progress
=
True
)
yaml
=
load_file_from_url
(
url
=
self
.
mode
l_url
,
model_dir
=
self
.
model_path
,
yaml
=
load_file_from_url
(
url
=
self
.
yam
l_url
,
model_dir
=
self
.
model_path
,
file_name
=
"project.yaml"
,
progress
=
True
)
file_name
=
"project.yaml"
,
progress
=
True
)
try
:
try
:
...
...
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