aboutsummaryrefslogtreecommitdiffstats
path: root/modules/interrogate.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2023-01-05 04:10:31 +0000
committerbrkirch <brkirch@users.noreply.github.com>2023-01-06 05:15:22 +0000
commit3bfe2bb5498241c4873cdd71b3f0a5bac5f64d7f (patch)
treec296183ec50286cf3552add8c1c967c2f843ec47 /modules/interrogate.py
parentf6ab5a39d762a7791573d1c52ae5a3024b10e8ed (diff)
parent5f4fa942b8ec3ed3b15a352903489d6f9e6eb46e (diff)
downloadstable-diffusion-webui-gfx803-3bfe2bb5498241c4873cdd71b3f0a5bac5f64d7f.tar.gz
stable-diffusion-webui-gfx803-3bfe2bb5498241c4873cdd71b3f0a5bac5f64d7f.tar.bz2
stable-diffusion-webui-gfx803-3bfe2bb5498241c4873cdd71b3f0a5bac5f64d7f.zip
Merge remote-tracking branch 'upstream/master' into sub-quad_attn_opt
Diffstat (limited to 'modules/interrogate.py')
-rw-r--r--modules/interrogate.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/interrogate.py b/modules/interrogate.py
index 6f761c5a..738d8ff7 100644
--- a/modules/interrogate.py
+++ b/modules/interrogate.py
@@ -136,7 +136,8 @@ class InterrogateModels:
def interrogate(self, pil_image):
res = ""
-
+ shared.state.begin()
+ shared.state.job = 'interrogate'
try:
if shared.cmd_opts.lowvram or shared.cmd_opts.medvram:
@@ -177,5 +178,6 @@ class InterrogateModels:
res += "<error>"
self.unload()
+ shared.state.end()
return res