mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 05:12:35 +00:00
change upscalers to download models into user-specified directory (from commandline args) rather than the default models/<...>
This commit is contained in:
@@ -154,7 +154,7 @@ class UpscalerESRGAN(Upscaler):
|
||||
if "http" in path:
|
||||
filename = load_file_from_url(
|
||||
url=self.model_url,
|
||||
model_dir=self.model_path,
|
||||
model_dir=self.model_download_path,
|
||||
file_name=f"{self.model_name}.pth",
|
||||
progress=True,
|
||||
)
|
||||
|
Reference in New Issue
Block a user