diff options
author | orionaskatu <100234619+orionaskatu@users.noreply.github.com> | 2022-08-28 13:46:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-28 13:46:44 +0000 |
commit | e5480e368868f40c99d7f5d09efab994449fae7d (patch) | |
tree | 5c53889b562da12daf979242e160f4a88b394e86 /webui.py | |
parent | 93e7dbaa7164c3b7d1dcb6907d5908cc3fa29d30 (diff) | |
download | stable-diffusion-webui-gfx803-e5480e368868f40c99d7f5d09efab994449fae7d.tar.gz stable-diffusion-webui-gfx803-e5480e368868f40c99d7f5d09efab994449fae7d.tar.bz2 stable-diffusion-webui-gfx803-e5480e368868f40c99d7f5d09efab994449fae7d.zip |
Typo StableDiffuion
Small typo StableDiffuionModelHijack() => StableDiffusionModelHijack()
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -519,7 +519,7 @@ if os.path.exists(cmd_opts.gfpgan_dir): print(traceback.format_exc(), file=sys.stderr)
-class StableDiffuionModelHijack:
+class StableDiffusionModelHijack:
ids_lookup = {}
word_embeddings = {}
word_embeddings_checksums = {}
@@ -1328,7 +1328,7 @@ sd_model = load_model_from_config(sd_config, cmd_opts.ckpt) device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
sd_model = (sd_model if cmd_opts.no_half else sd_model.half()).to(device)
-model_hijack = StableDiffuionModelHijack()
+model_hijack = StableDiffusionModelHijack()
model_hijack.hijack(sd_model)
demo = gr.TabbedInterface(
|