diff options
author | Milly <milly.ca@gmail.com> | 2022-10-06 18:36:08 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-09 09:46:07 +0000 |
commit | 0609ce06c0778536cb368ac3867292f87c6d9fc7 (patch) | |
tree | df441f6536cbbdec40e3f4cc8781d1d82e419620 /modules/esrgan_model.py | |
parent | a65a45272e8f26ee3bc52a5300b396266508a9a5 (diff) | |
download | stable-diffusion-webui-gfx803-0609ce06c0778536cb368ac3867292f87c6d9fc7.tar.gz stable-diffusion-webui-gfx803-0609ce06c0778536cb368ac3867292f87c6d9fc7.tar.bz2 stable-diffusion-webui-gfx803-0609ce06c0778536cb368ac3867292f87c6d9fc7.zip |
Removed duplicate definition model_path
Diffstat (limited to 'modules/esrgan_model.py')
-rw-r--r-- | modules/esrgan_model.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/esrgan_model.py b/modules/esrgan_model.py index 28548124..3970e6e4 100644 --- a/modules/esrgan_model.py +++ b/modules/esrgan_model.py @@ -7,7 +7,6 @@ from basicsr.utils.download_util import load_file_from_url import modules.esrgam_model_arch as arch
from modules import shared, modelloader, images, devices
-from modules.paths import models_path
from modules.upscaler import Upscaler, UpscalerData
from modules.shared import opts
@@ -76,7 +75,6 @@ class UpscalerESRGAN(Upscaler): self.model_name = "ESRGAN_4x"
self.scalers = []
self.user_path = dirname
- self.model_path = os.path.join(models_path, self.name)
super().__init__()
model_paths = self.find_models(ext_filter=[".pt", ".pth"])
scalers = []
|