fix(api): match format in schema for sd-concepts
This commit is contained in:
parent
85ff700525
commit
6542646005
|
@ -32,7 +32,7 @@ def convert_diffusion_textual_inversion(
|
||||||
|
|
||||||
makedirs(path.join(dest_path, "text_encoder"), exist_ok=True)
|
makedirs(path.join(dest_path, "text_encoder"), exist_ok=True)
|
||||||
|
|
||||||
if format == "huggingface":
|
if format == "concept":
|
||||||
embeds_file = hf_hub_download(repo_id=inversion, filename="learned_embeds.bin")
|
embeds_file = hf_hub_download(repo_id=inversion, filename="learned_embeds.bin")
|
||||||
token_file = hf_hub_download(repo_id=inversion, filename="token_identifier.txt")
|
token_file = hf_hub_download(repo_id=inversion, filename="token_identifier.txt")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue