mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
commit
8a2af87d3a
@ -106,7 +106,7 @@
|
||||
" url_parts = model_url.strip('/').strip().split('/')\n",
|
||||
" output_folder = f\"{url_parts[-2]}_{url_parts[-1]}\"\n",
|
||||
" branch = branch.strip('\"\\' ')\n",
|
||||
" if branch.strip() != not in ['', 'main']:\n",
|
||||
" if branch.strip() not in ['', 'main']:\n",
|
||||
" output_folder += f\"_{branch}\"\n",
|
||||
" !python download-model.py {model_url} --branch {branch}\n",
|
||||
" else:\n",
|
||||
|
Loading…
Reference in New Issue
Block a user