diff options
author | Aarni Koskela <akx@iki.fi> | 2023-05-29 09:45:07 +0300 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2023-06-13 12:38:29 +0300 |
commit | e3a973a68df3cfe13039dae33d19cf2c02a741e0 (patch) | |
tree | 3ac4515ddedb6ec4ccc317dcc2aab2ea8bf49646 /modules | |
parent | 0afbc0c2355ead3a0ce7149a6d678f1f2e2fbfee (diff) |
Add TODO comments to sus model loads
Diffstat (limited to 'modules')
-rw-r--r-- | modules/esrgan_model.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/esrgan_model.py b/modules/esrgan_model.py index 0666a2c2..a20e8d91 100644 --- a/modules/esrgan_model.py +++ b/modules/esrgan_model.py @@ -151,6 +151,7 @@ class UpscalerESRGAN(Upscaler): def load_model(self, path: str):
if path.startswith("http"):
+ # TODO: this doesn't use `path` at all?
filename = modelloader.load_file_from_url(
url=self.model_url,
model_dir=self.model_download_path,
|