Skip to content

Commit

Permalink
chore: fix license generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Minh141120 committed Jan 23, 2025
1 parent 82ff20d commit 348474b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/convert-model-all-quant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
model_dir = f"/mnt/models/{model_name}/hf"
for filename in os.listdir(model_dir):
if filename.startswith('LICENSE'):
license_url = f"https://huggingface.co/{target_model_id}/{model_name}/blob/main/{filename}"
license_url = f"https://huggingface.co/{source_model_id}/blob/main/{filename}"
licenses.append(f"[{filename}]({license_url})")
license_links = " | ".join(licenses) if licenses else "[License](#)"
Expand Down

0 comments on commit 348474b

Please # to comment.