Skip to content

Commit 9a19e7e

Browse files
committed
fix(downloads): model_url, model_id should be optional
1 parent b84e822 commit 9a19e7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
HF_AUTH_TOKEN = os.environ.get("HF_AUTH_TOKEN")
1616

1717

18-
def download_model(model_url, model_id):
18+
def download_model(model_url=None, model_id=None):
1919
id = model_id or MODEL_ID
2020
url = model_url or MODEL_URL
2121

0 commit comments

Comments
 (0)