Spaces:
Running
Running
update download model
Browse files- modules/ui_model_menu.py +4 -0
modules/ui_model_menu.py
CHANGED
@@ -277,6 +277,10 @@ def download_model_wrapper(repo_id, specific_file, progress=gr.Progress(), retur
|
|
277 |
progress(0.0)
|
278 |
model, branch = downloader.sanitize_model_and_branch_names(repo_id, None)
|
279 |
|
|
|
|
|
|
|
|
|
280 |
yield ("Getting the download links from Hugging Face")
|
281 |
links, sha256, is_lora, is_llamacpp = downloader.get_download_links_from_huggingface(model, branch, text_only=False, specific_file=specific_file)
|
282 |
if return_links:
|
|
|
277 |
progress(0.0)
|
278 |
model, branch = downloader.sanitize_model_and_branch_names(repo_id, None)
|
279 |
|
280 |
+
print("model:", model)
|
281 |
+
print("branch:", branch)
|
282 |
+
print("specific_file:", specific_file)
|
283 |
+
|
284 |
yield ("Getting the download links from Hugging Face")
|
285 |
links, sha256, is_lora, is_llamacpp = downloader.get_download_links_from_huggingface(model, branch, text_only=False, specific_file=specific_file)
|
286 |
if return_links:
|