Skip to content

Commit

Permalink
fmt (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend authored Jan 25, 2024
1 parent cc5e770 commit 7dc6329
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def _model_dir(model: str) -> str:

def model_org_name(model_name: str) -> str:
"""prepends with the HF if the org is not specified"""
if model_name == "all_MiniLM_L12_v2":
model_name = "all-MiniLM-L12-v2"

if "/" not in model_name:
return f"{_HF_ORG}/{model_name}"
else:
Expand Down

0 comments on commit 7dc6329

Please sign in to comment.