File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # vox-adv-cpk-wget.pth.tar (https://drive.google.com/file/d/1coUCdyRXDbpWnEkA99NLNY60mb9dQ_n3/view)
4- echo " Downloading model's weights (vox-adv-cpk.pth.tar)"
5-
6- file_id=1coUCdyRXDbpWnEkA99NLNY60mb9dQ_n3
73filename=vox-adv-cpk.pth.tar
8- echo " Getting cookie"
9- curl -sc /tmp/cookie " https://drive.google.com/uc?export=download&id=${file_id} " > /dev/null
10- code=" $( awk ' /_warning_/ {print $NF}' /tmp/cookie) "
11- echo " Downloading data"
12- curl -Lb /tmp/cookie " https://drive.google.com/uc?export=download&confirm=${code} &id=${file_id} " -o ${filename}
4+
5+ curl https://avatarify.s3.amazonaws.com/weights/$filename -o $filename
136
147echo " Expected checksum: 8a45a24037871c045fbb8a6a8aa95ebc"
15- echo " Found checksum: $( md5sum ${filename} ) "
8+
9+ if [ " $( uname) " == " Darwin" ]; then
10+ sum=` md5 ${filename} `
11+ else
12+ sum=` md5sum ${filename} `
13+ fi
14+ echo " Found checksum: $sum "
You can’t perform that action at this time.
0 commit comments