Skip to content

Commit

Permalink
initialization code
Browse files Browse the repository at this point in the history
  • Loading branch information
xg-chu committed Sep 26, 2024
1 parent ff3caf8 commit c20c30b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build_resources.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
echo "In order to run this tool, you need to download FLAME. Before you continue, you must register and agree to license terms at:"
echo -e '\e]8;;https://flame.is.tue.mpg.de\ahttps://flame.is.tue.mpg.de\e]8;;\a'

while true; do
read -p "I have registered and agreed to the license terms at https://flame.is.tue.mpg.de? (y/n)" yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done

wget https://huggingface.co/xg-chu/GAGAvatar_track/resolve/main/track_resources.tar ./track_resources.tar
tar -xvf track_resources.tar -C assets/
rm -r track_resources.tar

0 comments on commit c20c30b

Please sign in to comment.