aboutsummaryrefslogtreecommitdiffstats
path: root/modules/interrogate.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-31 16:56:37 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-05-31 16:56:37 +0000
commit05933840f0676dd1a90a7e2ad3f2a0672624b2cd (patch)
tree593940d16fdc678c275b2b2f21ac6df7c6aad959 /modules/interrogate.py
parentd67ef01f629d2034fb847dae6aa0143c87161b8f (diff)
downloadstable-diffusion-webui-gfx803-05933840f0676dd1a90a7e2ad3f2a0672624b2cd.tar.gz
stable-diffusion-webui-gfx803-05933840f0676dd1a90a7e2ad3f2a0672624b2cd.tar.bz2
stable-diffusion-webui-gfx803-05933840f0676dd1a90a7e2ad3f2a0672624b2cd.zip
rename print_error to report, use it with together with package name
Diffstat (limited to 'modules/interrogate.py')
-rw-r--r--modules/interrogate.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/interrogate.py b/modules/interrogate.py
index d36e1a5a..9b2c5b60 100644
--- a/modules/interrogate.py
+++ b/modules/interrogate.py
@@ -11,7 +11,6 @@ from torchvision import transforms
from torchvision.transforms.functional import InterpolationMode
from modules import devices, paths, shared, lowvram, modelloader, errors
-from modules.errors import print_error
blip_image_eval_size = 384
clip_model_name = 'ViT-L/14'
@@ -216,7 +215,7 @@ class InterrogateModels:
res += f", {match}"
except Exception:
- print_error("Error interrogating", exc_info=True)
+ errors.report("Error interrogating", exc_info=True)
res += "<error>"
self.unload()