Spaces:
Sleeping
Sleeping
File size: 656 Bytes
6b0bf34 24e34f1 45f70a9 963e30d 3938d58 |
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 |
#!/bin/bash
URL="https://github.com/SignBridgeApp/models/releases/download/v0.0/gloss2pose.zip"
ZIP_FILE="gloss2pose.zip"
TARGET_DIR="gloss2pose"
if [ ! -d "$TARGET_DIR" ]; then
echo "Downloading and extracting $ZIP_FILE..."
if [ ! -d "$ZIP_FILE" ]; then
wget -q "$URL"
else
echo "Zip $ZIP_FILE already exists. Skipping download."
fi
unzip -q "$ZIP_FILE" && rm "$ZIP_FILE"
echo "Done."
else
echo "Directory $TARGET_DIR already exists. Skipping download and extraction."
fi
git clone https://github.com/SignBridgeApp/pose-all.git
cd pose-all/src/python && pip3 install .
rm -rf pose-all/
apt install -y libgl1-mesa-glx
ldconfig
|