Skip to content

Commit

Permalink
chore: fix indentation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Minh141120 committed Jan 24, 2025
1 parent a48ad30 commit d79c25c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/convert-model-all-quant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ jobs:
overview = completion.choices[0].message.content.strip()
model_dir = f"/mnt/models/{model_name}/hf"
licenses = []
for filename in os.listdir(model_dir):
if filename.startswith('LICENSE'):
license_url = f"https://huggingface.co/{source_model_id}/blob/main/{filename}"
licenses.append(f"[{filename}]({license_url})")
licenses = []
for filename in os.listdir(model_dir):
if filename.startswith('LICENSE'):
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](#)"
license_links = " | ".join(licenses) if licenses else "[License](#)"
# README.md template
readme_template = f"""\
Expand Down

0 comments on commit d79c25c

Please sign in to comment.