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
4b3c5bc2
Commit
4b3c5bc2
authored
Nov 29, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'pattontim/safetensors'
parents
0b5dcb3d
ac90cf38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
.gitignore
.gitignore
+1
-0
modelloader.py
modules/modelloader.py
+1
-0
No files found.
.gitignore
View file @
4b3c5bc2
__pycache__
__pycache__
*.ckpt
*.ckpt
*.safetensors
*.pth
*.pth
/ESRGAN/*
/ESRGAN/*
/SwinIR/*
/SwinIR/*
...
...
modules/modelloader.py
View file @
4b3c5bc2
...
@@ -82,6 +82,7 @@ def cleanup_models():
...
@@ -82,6 +82,7 @@ def cleanup_models():
src_path
=
models_path
src_path
=
models_path
dest_path
=
os
.
path
.
join
(
models_path
,
"Stable-diffusion"
)
dest_path
=
os
.
path
.
join
(
models_path
,
"Stable-diffusion"
)
move_files
(
src_path
,
dest_path
,
".ckpt"
)
move_files
(
src_path
,
dest_path
,
".ckpt"
)
move_files
(
src_path
,
dest_path
,
".safetensors"
)
src_path
=
os
.
path
.
join
(
root_path
,
"ESRGAN"
)
src_path
=
os
.
path
.
join
(
root_path
,
"ESRGAN"
)
dest_path
=
os
.
path
.
join
(
models_path
,
"ESRGAN"
)
dest_path
=
os
.
path
.
join
(
models_path
,
"ESRGAN"
)
move_files
(
src_path
,
dest_path
)
move_files
(
src_path
,
dest_path
)
...
...
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