rm comments

This commit is contained in:
ltoniazzi 2024-08-24 09:20:31 +01:00 committed by Lorenzo Toniazzi
parent 42f65b0289
commit fc6abde7aa

View File

@ -15,13 +15,9 @@ COMMIT=c26d5fb85b4070a9e9c4e65d132c783b98086890
# Clone the Hugging Face repository if the directory does not exist
if [ ! -d "$MODELS_REPO" ]; then
echo "Cloning the Hugging Face repository..."
git clone --depth=1 $MODELS_REPO_URL $MODELS_REPO
git clone $MODELS_REPO_URL --depth 1
cd $MODELS_REPO
# Fetch the specific commit
git fetch --depth=1 origin $COMMIT
# Reset to the specific commit
git reset --hard $COMMIT
cd -
else