mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Minor logging change
This commit is contained in:
parent
abcdd0ad5b
commit
15d90d9bd5
@ -294,7 +294,7 @@ def download_model_wrapper(repo_id, specific_file, progress=gr.Progress(), retur
|
|||||||
downloader.check_model_files(model, branch, links, sha256, output_folder)
|
downloader.check_model_files(model, branch, links, sha256, output_folder)
|
||||||
progress(1.0)
|
progress(1.0)
|
||||||
else:
|
else:
|
||||||
yield (f"Downloading file{'s' if len(links) > 1 else ''} to `{output_folder}/`")
|
yield (f"Downloading file{'s' if len(links) > 1 else ''} to `{output_folder}`")
|
||||||
downloader.download_model_files(model, branch, links, sha256, output_folder, progress_bar=progress, threads=4, is_llamacpp=is_llamacpp)
|
downloader.download_model_files(model, branch, links, sha256, output_folder, progress_bar=progress, threads=4, is_llamacpp=is_llamacpp)
|
||||||
|
|
||||||
yield (f"Model successfully saved to `{output_folder}/`.")
|
yield (f"Model successfully saved to `{output_folder}/`.")
|
||||||
|
Loading…
Reference in New Issue
Block a user