1
0
Fork 0

fix(api): correctly detect unknown embedding format

This commit is contained in:
Sean Sube 2023-11-23 23:53:17 -06:00
parent 8df6ec231f
commit 98f8abbacd
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ def blend_textual_inversions(
continue continue
if format is None: if format is None:
format = detect_embedding_format() format = detect_embedding_format(loaded_embeds)
if format == "concept": if format == "concept":
blend_embedding_concept(embeds, loaded_embeds, dtype, base_token, weight) blend_embedding_concept(embeds, loaded_embeds, dtype, base_token, weight)