diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-04 06:02:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 06:02:15 +0000 |
commit | 4918eb6ce484caa4bc5a9f668bb466a5122a9c87 (patch) | |
tree | 76a0e42461d620764ad810c5b8dbd5b28d757519 /modules/interrogate.py | |
parent | 80844ac861504e7c67a3d4dec0cbed9f6f4b3e24 (diff) | |
parent | 2cf3d2ac15530dbc8fdb486a4dac03b710972445 (diff) | |
download | stable-diffusion-webui-gfx803-4918eb6ce484caa4bc5a9f668bb466a5122a9c87.tar.gz stable-diffusion-webui-gfx803-4918eb6ce484caa4bc5a9f668bb466a5122a9c87.tar.bz2 stable-diffusion-webui-gfx803-4918eb6ce484caa4bc5a9f668bb466a5122a9c87.zip |
Merge branch 'master' into hn-activation
Diffstat (limited to 'modules/interrogate.py')
-rw-r--r-- | modules/interrogate.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/interrogate.py b/modules/interrogate.py index 65b05d34..9769aa34 100644 --- a/modules/interrogate.py +++ b/modules/interrogate.py @@ -56,9 +56,9 @@ class InterrogateModels: import clip
if self.running_on_cpu:
- model, preprocess = clip.load(clip_model_name, device="cpu")
+ model, preprocess = clip.load(clip_model_name, device="cpu", download_root=shared.cmd_opts.clip_models_path)
else:
- model, preprocess = clip.load(clip_model_name)
+ model, preprocess = clip.load(clip_model_name, download_root=shared.cmd_opts.clip_models_path)
model.eval()
model = model.to(devices.device_interrogate)
|