no double clone
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user