Easier Dropdown support for Git
Colab does not allow to define labels for the modes, so to keep things simple for a version selector United is now capitalized and Stable has been added behaving the same as leaving it empty. This does potentially break all the dev colab's, so if you forked one make sure it uses United with a capital U for maximum compatibility.
This commit is contained in:
parent
260f4ffae0
commit
bc3141b2e6
|
@ -89,7 +89,10 @@ if [ "$init" != "skip" ]; then
|
||||||
else
|
else
|
||||||
cd /content
|
cd /content
|
||||||
if [ ! -z ${git+x} ]; then
|
if [ ! -z ${git+x} ]; then
|
||||||
if [ "$git" == "united" ]; then
|
if [ "$git" == "Stable" ]; then
|
||||||
|
git clone https://github.com/koboldai/KoboldAI-Client
|
||||||
|
fi
|
||||||
|
if [ "$git" == "United" ]; then
|
||||||
git clone https://github.com/henk717/KoboldAI-Client
|
git clone https://github.com/henk717/KoboldAI-Client
|
||||||
fi
|
fi
|
||||||
git clone $git
|
git clone $git
|
||||||
|
|
Loading…
Reference in New Issue