mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Minor Colab fix
This commit is contained in:
parent
dea90c7b67
commit
3d861a459d
@ -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() != '':\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