colab link to download directly, set a different fallback url

This commit is contained in:
Concedo 2026-05-17 23:11:32 +08:00
parent de2c5f1cef
commit b91ee904d2

View file

@ -320,7 +320,7 @@
"\n",
"\n",
"!echo Downloading KoboldCpp, please wait...\n",
"!wget -O dlfile.tmp https://kcpplinux.concedo.workers.dev && mv dlfile.tmp koboldcpp_linux || (echo \"Primary failed, trying mirror...\" && wget -O dlfile.tmp https://github.com/LostRuins/koboldcpp/releases/latest/download/koboldcpp-linux-x64 && mv dlfile.tmp koboldcpp_linux)\n",
"!wget -O dlfile.tmp https://github.com/LostRuins/koboldcpp/releases/latest/download/koboldcpp-linux-x64 && mv dlfile.tmp koboldcpp_linux || (echo \"Primary failed, trying mirror...\" && wget -O dlfile.tmp https://koboldai.org/cpplinuxcu12 && mv dlfile.tmp koboldcpp_linux)\n",
"!test -f koboldcpp_linux && echo Download Successful || echo Download Failed\n",
"!chmod +x ./koboldcpp_linux\n",
"!apt update\n",