Skip to content

Commit

Permalink
fix: download models using tlsv1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPandir committed May 17, 2024
1 parent d53cb90 commit ef9a0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ download_model() {
local modelUrl="$1"

echo "Starting download: $modelUrl"
if curl -fSL -O "$modelUrl" --progress-bar -A "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0"; then
if curl -fSL -O "$modelUrl" --progress-bar --tlsv1.3 -A "Mozilla"; then
echo "Completed download: $(basename "$modelUrl")"
else
echo "Failed download: $(basename "$modelUrl")"
Expand Down

0 comments on commit ef9a0b1

Please sign in to comment.