aboutsummaryrefslogtreecommitdiff
path: root/modules/realesrgan_model.py
diff options
context:
space:
mode:
authorMilly <milly.ca@gmail.com>2022-10-07 03:36:08 +0900
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-09 12:46:07 +0300
commit0609ce06c0778536cb368ac3867292f87c6d9fc7 (patch)
treedf441f6536cbbdec40e3f4cc8781d1d82e419620 /modules/realesrgan_model.py
parenta65a45272e8f26ee3bc52a5300b396266508a9a5 (diff)
Removed duplicate definition model_path
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: