Skip to content

Commit

Permalink
fix(api): match format in schema for sd-concepts
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Mar 8, 2023
1 parent 85ff700 commit 6542646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/convert/diffusion/textual_inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def convert_diffusion_textual_inversion(

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")
token_file = hf_hub_download(repo_id=inversion, filename="token_identifier.txt")

Expand Down

0 comments on commit 6542646

Please sign in to comment.