mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-01-26 19:19:57 +00:00
Safety check for missing shape
This commit is contained in:
@@ -169,7 +169,7 @@ def get_embeddings(sd_model):
|
||||
|
||||
# Add embeddings to the correct list
|
||||
for key, emb in (loaded | skipped).items():
|
||||
if (emb.filename is None):
|
||||
if emb.filename is None or emb.shape is None:
|
||||
continue
|
||||
|
||||
if emb.shape == V1_SHAPE:
|
||||
|
||||
Reference in New Issue
Block a user