Skip to content

Commit

Permalink
Merge remote-tracking branch 'pattontim/safetensors'
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Nov 29, 2022
2 parents 0b5dcb3 + ac90cf3 commit 4b3c5bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
__pycache__
*.ckpt
*.safetensors
*.pth
/ESRGAN/*
/SwinIR/*
Expand Down
1 change: 1 addition & 0 deletions modules/modelloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def cleanup_models():
src_path = models_path
dest_path = os.path.join(models_path, "Stable-diffusion")
move_files(src_path, dest_path, ".ckpt")
move_files(src_path, dest_path, ".safetensors")
src_path = os.path.join(root_path, "ESRGAN")
dest_path = os.path.join(models_path, "ESRGAN")
move_files(src_path, dest_path)
Expand Down

0 comments on commit 4b3c5bc

Please sign in to comment.