no double clone

This commit is contained in:
2025-07-26 07:49:24 -07:00
parent 7a74516dc5
commit aa6ee4d40e
2 changed files with 1 additions and 10 deletions

View File

@@ -17,8 +17,7 @@ cd /workspace
git clone https://github.com/YOUR_USERNAME/sam2e.git git clone https://github.com/YOUR_USERNAME/sam2e.git
cd sam2e cd sam2e
# Make setup script executable and run # Run setup script (already executable in git)
chmod +x runpod_setup.sh
./runpod_setup.sh ./runpod_setup.sh
# Install SAM2 separately (not on PyPI) # Install SAM2 separately (not on PyPI)

View File

@@ -9,14 +9,6 @@ echo ""
echo "📦 Installing system dependencies..." echo "📦 Installing system dependencies..."
apt-get update && apt-get install -y ffmpeg git wget nano apt-get update && apt-get install -y ffmpeg git wget nano
# Clone your repository (replace with your actual repo URL)
cd /workspace
if [ ! -d "sam2e" ]; then
echo "📥 Cloning repository..."
git clone https://git.10n.app/scott/test2.git
fi
cd sam2e
# Install Python dependencies # Install Python dependencies
echo "🐍 Installing Python dependencies..." echo "🐍 Installing Python dependencies..."
pip install --upgrade pip pip install --upgrade pip