mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
add resrgan 8x, allow use 1x and up to 8x extra models, move BSRGAN model, add nearest
This commit is contained in:
parent
17a2076f72
commit
c9bb33dd43
4 changed files with 33 additions and 6 deletions
|
|
@ -85,6 +85,9 @@ def cleanup_models():
|
|||
src_path = os.path.join(root_path, "ESRGAN")
|
||||
dest_path = os.path.join(models_path, "ESRGAN")
|
||||
move_files(src_path, dest_path)
|
||||
src_path = os.path.join(models_path, "BSRGAN")
|
||||
dest_path = os.path.join(models_path, "ESRGAN")
|
||||
move_files(src_path, dest_path, ".pth")
|
||||
src_path = os.path.join(root_path, "gfpgan")
|
||||
dest_path = os.path.join(models_path, "GFPGAN")
|
||||
move_files(src_path, dest_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue