diff options
author | ssysm <me@theeditorstudio.com> | 2022-10-10 03:20:39 +0000 |
---|---|---|
committer | ssysm <me@theeditorstudio.com> | 2022-10-10 03:20:39 +0000 |
commit | 6fdad291bd5a5edacedec73cf4d0e3852d00300e (patch) | |
tree | 5901473f27ea0410728150a1a6f2da373ea949b1 /modules/realesrgan_model.py | |
parent | cc92dc1f8d73dd4d574c4c8ccab78b7fc61e440b (diff) | |
parent | 45fbd1c5fec887988ab555aac75a999d4f3aff40 (diff) | |
download | stable-diffusion-webui-gfx803-6fdad291bd5a5edacedec73cf4d0e3852d00300e.tar.gz stable-diffusion-webui-gfx803-6fdad291bd5a5edacedec73cf4d0e3852d00300e.tar.bz2 stable-diffusion-webui-gfx803-6fdad291bd5a5edacedec73cf4d0e3852d00300e.zip |
Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui into upstream-master
Diffstat (limited to 'modules/realesrgan_model.py')
-rw-r--r-- | modules/realesrgan_model.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/realesrgan_model.py b/modules/realesrgan_model.py index dc0123e0..3ac0b97a 100644 --- a/modules/realesrgan_model.py +++ b/modules/realesrgan_model.py @@ -8,14 +8,12 @@ from basicsr.utils.download_util import load_file_from_url from realesrgan import RealESRGANer
from modules.upscaler import Upscaler, UpscalerData
-from modules.paths import models_path
from modules.shared import cmd_opts, opts
class UpscalerRealESRGAN(Upscaler):
def __init__(self, path):
self.name = "RealESRGAN"
- self.model_path = os.path.join(models_path, self.name)
self.user_path = path
super().__init__()
try:
|