mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-07 02:50:58 -08:00
Label and load SD .safetensors model files
This commit is contained in:
parent
47a44c7e42
commit
ac7ecd2d84
4 changed files with 19 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue