aboutsummaryrefslogtreecommitdiffstats
path: root/modules/realesrgan_model.py
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-10-09 23:38:54 +0000
committerGitHub <noreply@github.com>2022-10-09 23:38:54 +0000
commit4117afff11c7b0a2162c73ea02be8cfa30d02640 (patch)
treeaf26f1b0c9eac8c024d2e51ec8fb5ca4a4d45ed3 /modules/realesrgan_model.py
parente2c2925eb4d634b186de2c76798162ec56e2f869 (diff)
parent45fbd1c5fec887988ab555aac75a999d4f3aff40 (diff)
downloadstable-diffusion-webui-gfx803-4117afff11c7b0a2162c73ea02be8cfa30d02640.tar.gz
stable-diffusion-webui-gfx803-4117afff11c7b0a2162c73ea02be8cfa30d02640.tar.bz2
stable-diffusion-webui-gfx803-4117afff11c7b0a2162c73ea02be8cfa30d02640.zip
Merge branch 'master' into embed-embeddings-in-images
Diffstat (limited to 'modules/realesrgan_model.py')
-rw-r--r--modules/realesrgan_model.py2
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: