File size: 23,760 Bytes
7b012b2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 |
#!/usr/bin/env bash
set -ex
name=$NAME
lang=$(echo $name | cut -d "-" -f1)
export LANG=$lang
if [[ $name == "uk-mai" ]]; then
wget -q https://coqui.gateway.scarf.sh/v0.8.0_models/tts_models--uk--mai--vits.zip
unzip tts_models--uk--mai--vits.zip
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/snapshots/4045181fbc0f09f97637451ca79cd1b73bc0aed8
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/snapshots/4045181fbc0f09f97637451ca79cd1b73bc0aed8
sudo chmod a=rwx /root
sudo chmod a=rwx /root/.cache
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/snapshots/4045181fbc0f09f97637451ca79cd1b73bc0aed8
sudo cp -v tts_models--uk--mai--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/snapshots/4045181fbc0f09f97637451ca79cd1b73bc0aed8
sudo ls -lh /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/snapshots/4045181fbc0f09f97637451ca79cd1b73bc0aed8
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/snapshots/4045181fbc0f09f97637451ca79cd1b73bc0aed8/speaker_ids.json
sudo ls -lh /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-uk/snapshots/4045181fbc0f09f97637451ca79cd1b73bc0aed8
ls -lh tts_models--uk--mai--vits
cp -v tts_models--uk--mai--vits/model_file.pth.tar ./model_file.pth
cp -v tts_models--uk--mai--vits/*.json ./
ls -lh
elif [[ $name == 'bg-cv' || $name == "cs-cv" || $name == "da-cv" || $name == "et-cv" || $name == "ga-cv" ]] || \
[[ $name == 'hr-cv' || $name == "lt-cv" || $name == "lv-cv" || $name == "mt-cv" ]] || \
[[ $name == 'pt-cv' || $name == "ro-cv" || $name == "sk-cv" || $name == "sl-cv" ]] || \
[[ $name == 'sv-cv' ]] || \
[[ $name == "es-css10" ]] || \
[[ $name == "fr-css10" ]] || \
[[ $name == "nl-css10" ]] || \
[[ $name == "de-css10" ]] || \
[[ $name == "hu-css10" ]] || \
[[ $name == "fi-css10" ]] || \
[[ $name == "pl-mai_female" ]]; then
lang=$(echo $name | cut -d "-" -f1)
dataset=$(echo $name | cut -d "-" -f2)
url=https://coqui.gateway.scarf.sh/v0.8.0_models/tts_models--$lang--$dataset--vits.zip
wget -q $url
zipname=$(basename $url)
name_no_ext=$(basename -s .zip $zipname)
unzip $zipname
cp $name_no_ext/model_file.pth.tar ./model_file.pth
cp $name_no_ext/*.json ./
ls -lh
elif [[ $name == "bn-custom_male" ]]; then
url=https://coqui.gateway.scarf.sh/v0.13.3_models/tts_models--bn--custom--vits_male.zip
wget -q $url
zipname=$(basename $url)
name_no_ext=$(basename -s .zip $zipname)
unzip $zipname
cp $name_no_ext/model_file.pth ./model_file.pth
cp $name_no_ext/*.json ./
ls -lh
elif [[ $name == "bn-custom_female" ]]; then
url=https://coqui.gateway.scarf.sh/v0.13.3_models/tts_models--bn--custom--vits_female.zip
wget -q $url
zipname=$(basename $url)
name_no_ext=$(basename -s .zip $zipname)
unzip $zipname
cp $name_no_ext/model_file.pth ./model_file.pth
cp $name_no_ext/*.json ./
ls -lh
else
echo "Unsupported name: $name"
exit 1
fi
if [[ $name == "bg-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-bg/snapshots/cb15b38ac4131e2061b171743366bd0864ae5dee
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-bg/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-bg/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-bg/snapshots/cb15b38ac4131e2061b171743366bd0864ae5dee
cp -v tts_models--bg--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-bg/snapshots/cb15b38ac4131e2061b171743366bd0864ae5dee
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-bg/snapshots/cb15b38ac4131e2061b171743366bd0864ae5dee/speaker_ids.json
fi
if [[ $name == "cs-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-cs/snapshots/5e7c4c5ddf06d90f90b24b6c33035a1019869642
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-cs/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-cs/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-cs/snapshots/5e7c4c5ddf06d90f90b24b6c33035a1019869642
cp -v tts_models--cs--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-cs/snapshots/5e7c4c5ddf06d90f90b24b6c33035a1019869642
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-cs/snapshots/5e7c4c5ddf06d90f90b24b6c33035a1019869642/speaker_ids.json
fi
if [[ $name == "da-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-da/snapshots/a822eead8afcc5c3a096df96edcbbcf94f25b936
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-da/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-da/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-da/snapshots/a822eead8afcc5c3a096df96edcbbcf94f25b936
cp -v tts_models--da--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-da/snapshots/a822eead8afcc5c3a096df96edcbbcf94f25b936
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-da/snapshots/a822eead8afcc5c3a096df96edcbbcf94f25b936/speaker_ids.json
fi
if [[ $name == "et-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-et/snapshots/af74edf2def51c17309262681d647fdbbf78a0c7
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-et/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-et/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-et/snapshots/af74edf2def51c17309262681d647fdbbf78a0c7
cp -v tts_models--et--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-et/snapshots/af74edf2def51c17309262681d647fdbbf78a0c7
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-et/snapshots/af74edf2def51c17309262681d647fdbbf78a0c7/speaker_ids.json
fi
if [[ $name == "ga-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ga/snapshots/178a25580efa4fbc8c35143aa7a5cbf441732321
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ga/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ga/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ga/snapshots/178a25580efa4fbc8c35143aa7a5cbf441732321
cp -v tts_models--ga--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ga/snapshots/178a25580efa4fbc8c35143aa7a5cbf441732321
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ga/snapshots/178a25580efa4fbc8c35143aa7a5cbf441732321/speaker_ids.json
fi
if [[ $name == "hr-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-hr/snapshots/7ba17c08ccf1b86f6730e7bd155994ae9b259ee5
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-hr/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-hr/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-hr/snapshots/7ba17c08ccf1b86f6730e7bd155994ae9b259ee5
cp -v tts_models--hr--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-hr/snapshots/7ba17c08ccf1b86f6730e7bd155994ae9b259ee5
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-hr/snapshots/7ba17c08ccf1b86f6730e7bd155994ae9b259ee5/speaker_ids.json
fi
if [[ $name == "lt-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lt/snapshots/5c7b52856cd144a3a852e43c272c54030c824b68
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lt/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lt/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lt/snapshots/5c7b52856cd144a3a852e43c272c54030c824b68
cp -v tts_models--lt--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lt/snapshots/5c7b52856cd144a3a852e43c272c54030c824b68
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lt/snapshots/5c7b52856cd144a3a852e43c272c54030c824b68/speaker_ids.json
fi
if [[ $name == "lv-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lv/snapshots/c7e9bbe9e7b929db814985579afd3cb4483e56ba
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lv/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lv/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lv/snapshots/c7e9bbe9e7b929db814985579afd3cb4483e56ba
cp -v tts_models--lv--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lv/snapshots/c7e9bbe9e7b929db814985579afd3cb4483e56ba
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-lv/snapshots/c7e9bbe9e7b929db814985579afd3cb4483e56ba/speaker_ids.json
fi
if [[ $name == "mt-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-mt/snapshots/9e4bd666169645cfa4c9206728813627e28630b3
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-mt/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-mt/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-mt/snapshots/9e4bd666169645cfa4c9206728813627e28630b3
cp -v tts_models--mt--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-mt/snapshots/9e4bd666169645cfa4c9206728813627e28630b3
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-mt/snapshots/9e4bd666169645cfa4c9206728813627e28630b3/speaker_ids.json
fi
if [[ $name == "pt-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-pt/snapshots/3a1261ab510baede428b523c490c9da8bb7663c1
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-pt/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-pt/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-pt/snapshots/3a1261ab510baede428b523c490c9da8bb7663c1
cp -v tts_models--pt--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-pt/snapshots/3a1261ab510baede428b523c490c9da8bb7663c1
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-pt/snapshots/3a1261ab510baede428b523c490c9da8bb7663c1/speaker_ids.json
fi
if [[ $name == "ro-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ro/snapshots/b1f125a250cd74ccddab195817a2b8d977ed53cf
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ro/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ro/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ro/snapshots/b1f125a250cd74ccddab195817a2b8d977ed53cf
cp -v tts_models--ro--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ro/snapshots/b1f125a250cd74ccddab195817a2b8d977ed53cf
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-ro/snapshots/b1f125a250cd74ccddab195817a2b8d977ed53cf/speaker_ids.json
fi
if [[ $name == "sk-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sk/snapshots/339546c562106429f3e7ef827080577c148ef51c
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sk/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sk/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sk/snapshots/339546c562106429f3e7ef827080577c148ef51c
cp -v tts_models--sk--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sk/snapshots/339546c562106429f3e7ef827080577c148ef51c
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sk/snapshots/339546c562106429f3e7ef827080577c148ef51c/speaker_ids.json
fi
if [[ $name == "sl-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sl/snapshots/06d23d84fa3a982a9a109a2ca8bf48cbcc60fe72
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sl/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sl/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sl/snapshots/06d23d84fa3a982a9a109a2ca8bf48cbcc60fe72
cp -v tts_models--sl--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sl/snapshots/06d23d84fa3a982a9a109a2ca8bf48cbcc60fe72
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sl/snapshots/06d23d84fa3a982a9a109a2ca8bf48cbcc60fe72/speaker_ids.json
fi
if [[ $name == "sv-cv" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sv/snapshots/16b05312ed40a891e1d6805f754b7a30c134031d
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sv/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sv/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sv/snapshots/16b05312ed40a891e1d6805f754b7a30c134031d
cp -v tts_models--sv--cv--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sv/snapshots/16b05312ed40a891e1d6805f754b7a30c134031d
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-cv-sv/snapshots/16b05312ed40a891e1d6805f754b7a30c134031d/speaker_ids.json
fi
if [[ $name == "pl-mai_female" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-pl/snapshots/7013db9c212e26ce8d2de0a5c28a946d7a117ade
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-pl/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-pl/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-pl/snapshots/7013db9c212e26ce8d2de0a5c28a946d7a117ade
cp -v tts_models--pl--mai_female--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-pl/snapshots/7013db9c212e26ce8d2de0a5c28a946d7a117ade
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-mai-pl/snapshots/7013db9c212e26ce8d2de0a5c28a946d7a117ade/speaker_ids.json
fi
if [[ $name == "es-css10" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-es/snapshots/098d86d7755ae33ce745743b97f7d0d7e4b271cd
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-es/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-es/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-es/snapshots/098d86d7755ae33ce745743b97f7d0d7e4b271cd
cp -v tts_models--es--css10--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-es/snapshots/098d86d7755ae33ce745743b97f7d0d7e4b271cd
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-es/snapshots/098d86d7755ae33ce745743b97f7d0d7e4b271cd/speaker_ids.json
fi
if [[ $name == "fr-css10" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fr/snapshots/a3247f154d2fa5099bee23de35ba19907bc31b48
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fr/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fr/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fr/snapshots/a3247f154d2fa5099bee23de35ba19907bc31b48
cp -v tts_models--fr--css10--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fr/snapshots/a3247f154d2fa5099bee23de35ba19907bc31b48
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fr/snapshots/a3247f154d2fa5099bee23de35ba19907bc31b48/speaker_ids.json
fi
if [[ $name == "nl-css10" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-nl/snapshots/be7a7c7bee463588626b10777d7fc14ed8c07a3e
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-nl/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-nl/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-nl/snapshots/be7a7c7bee463588626b10777d7fc14ed8c07a3e
cp -v tts_models--nl--css10--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-nl/snapshots/be7a7c7bee463588626b10777d7fc14ed8c07a3e
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-nl/snapshots/be7a7c7bee463588626b10777d7fc14ed8c07a3e/speaker_ids.json
fi
if [[ $name == "de-css10" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-de/snapshots/9b3587ba721eebad881e3e261384ff6196f5fee1
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-de/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-de/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-de/snapshots/9b3587ba721eebad881e3e261384ff6196f5fee1
cp -v tts_models--de--css10--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-de/snapshots/9b3587ba721eebad881e3e261384ff6196f5fee1
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-de/snapshots/9b3587ba721eebad881e3e261384ff6196f5fee1/speaker_ids.json
fi
if [[ $name == "hu-css10" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-hu/snapshots/e3fbd26f31b6ac49f6acd000c5e099cc57baa363
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-hu/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-hu/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-hu/snapshots/e3fbd26f31b6ac49f6acd000c5e099cc57baa363
cp -v tts_models--hu--css10--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-hu/snapshots/e3fbd26f31b6ac49f6acd000c5e099cc57baa363
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-hu/snapshots/e3fbd26f31b6ac49f6acd000c5e099cc57baa363/speaker_ids.json
fi
if [[ $name == "fi-css10" ]]; then
sudo mkdir -p /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fi/snapshots/528484f557830291d300ed23246621ed3c5f6e8d
sudo chmod a=rwx /root/
sudo chmod a=rwx /root/.cache/
sudo chmod a=rwx /root/.cache/huggingface/
sudo chmod a=rwx /root/.cache/huggingface/hub/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fi/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fi/snapshots/
sudo chmod a=rwx /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fi/snapshots/528484f557830291d300ed23246621ed3c5f6e8d
cp -v tts_models--fi--css10--vits/speaker_ids.json /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fi/snapshots/528484f557830291d300ed23246621ed3c5f6e8d
sudo chmod a+r /root/.cache/huggingface/hub/models--neongeckocom--tts-vits-css10-fi/snapshots/528484f557830291d300ed23246621ed3c5f6e8d/speaker_ids.json
fi
pip install -q TTS onnx onnxruntime
python3 ./vits-coqui.py
ls -lh *.onnx
|