Skip to content

Commit 4b3c5bc

Browse files
committed
Merge remote-tracking branch 'pattontim/safetensors'
2 parents 0b5dcb3 + ac90cf3 commit 4b3c5bc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
__pycache__
22
*.ckpt
3+
*.safetensors
34
*.pth
45
/ESRGAN/*
56
/SwinIR/*

modules/modelloader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def cleanup_models():
8282
src_path = models_path
8383
dest_path = os.path.join(models_path, "Stable-diffusion")
8484
move_files(src_path, dest_path, ".ckpt")
85+
move_files(src_path, dest_path, ".safetensors")
8586
src_path = os.path.join(root_path, "ESRGAN")
8687
dest_path = os.path.join(models_path, "ESRGAN")
8788
move_files(src_path, dest_path)

0 commit comments

Comments
 (0)