mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-06 00:30:13 +01:00
Filter whitespaces in downloader fields in model tab (#6518)
This commit is contained in:
parent
f93196e306
commit
1c937dad72
|
|
@ -260,6 +260,8 @@ def download_model_wrapper(repo_id, specific_file, progress=gr.Progress(), retur
|
|||
yield ("Please enter a model path")
|
||||
return
|
||||
|
||||
repo_id = repo_id.strip()
|
||||
specific_file = specific_file.strip()
|
||||
downloader = importlib.import_module("download-model").ModelDownloader()
|
||||
|
||||
progress(0.0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue