diff --git a/colabkobold.sh b/colabkobold.sh index 97ec0bdd..273b4238 100644 --- a/colabkobold.sh +++ b/colabkobold.sh @@ -70,6 +70,7 @@ fi # Redefine the extraction location if [ "$xloc" == "drive" ]; then xloc="/content/drive/MyDrive/KoboldAI/models/" + dloc="/content" else xloc="/content/" fi @@ -138,6 +139,12 @@ if [ -f "/content/extracted" ]; then launch fi +# Is the model extracted on Google Drive? Skip the download and extraction +# Only on Google Drive since it has a big impact there if we don't, and locally we have better checks in place +if [ "$xloc" == "drive" ] && [[ -d $mpath ]];then + launch +fi + #Download routine for regular Downloads if [ ! -z ${download+x} ]; then wget -c $download -P $dloc