no double clone
This commit is contained in:
@@ -17,8 +17,7 @@ cd /workspace
|
||||
git clone https://github.com/YOUR_USERNAME/sam2e.git
|
||||
cd sam2e
|
||||
|
||||
# Make setup script executable and run
|
||||
chmod +x runpod_setup.sh
|
||||
# Run setup script (already executable in git)
|
||||
./runpod_setup.sh
|
||||
|
||||
# Install SAM2 separately (not on PyPI)
|
||||
|
||||
@@ -9,14 +9,6 @@ echo ""
|
||||
echo "📦 Installing system dependencies..."
|
||||
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
|
||||
echo "🐍 Installing Python dependencies..."
|
||||
pip install --upgrade pip
|
||||
|
||||
Reference in New Issue
Block a user