Fix #3117
This commit is contained in:
parent
6447b2eea6
commit
c592a9b740
1 changed files with 0 additions and 5 deletions
|
@ -146,11 +146,6 @@ def download_model_wrapper(repo_id, progress=gr.Progress()):
|
|||
|
||||
yield ("Getting the output folder")
|
||||
models_dir = Path(shared.args.model_dir)
|
||||
|
||||
# If the last part of the path is "models", remove it
|
||||
if models_dir.name.lower() == 'models':
|
||||
models_dir = models_dir.parent
|
||||
|
||||
output_folder = downloader.get_output_folder(model, branch, is_lora, base_folder=models_dir)
|
||||
|
||||
if check:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue