mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Merge branch 'main' into dev
This commit is contained in:
commit
22341e948d
@ -145,8 +145,8 @@ def download_model_wrapper(repo_id, progress=gr.Progress()):
|
|||||||
links, sha256, is_lora = downloader.get_download_links_from_huggingface(model, branch, text_only=False)
|
links, sha256, is_lora = downloader.get_download_links_from_huggingface(model, branch, text_only=False)
|
||||||
|
|
||||||
yield ("Getting the output folder")
|
yield ("Getting the output folder")
|
||||||
models_dir = Path(shared.args.model_dir)
|
base_folder = shared.args.lora_dir if is_lora else shared.args.model_dir
|
||||||
output_folder = downloader.get_output_folder(model, branch, is_lora, base_folder=models_dir)
|
output_folder = downloader.get_output_folder(model, branch, is_lora, base_folder=base_folder)
|
||||||
|
|
||||||
if check:
|
if check:
|
||||||
progress(0.5)
|
progress(0.5)
|
||||||
|
Loading…
Reference in New Issue
Block a user