mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-27 06:39:33 +01: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