File size: 545 Bytes
ba3e3be
d911050
ba3e3be
 
 
 
 
 
 
d911050
ba3e3be
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

# Check if lama directory exists
if [ ! -d "lama" ]; then
    # Clone dependency repos
    git clone https://github.com/advimman/lama.git
else
    echo "lama directory already exists. Skipping clone."
fi

# Check if big-lama.zip or big-lama directory exists
if [ ! -f "big-lama.zip" ] && [ ! -d "big-lama" ]; then
    # Download big-lama model
    curl -LJO https://huggingface.co/smartywu/big-lama/resolve/main/big-lama.zip
    unzip big-lama.zip
else
    echo "big-lama model already exists. Skipping download and extraction."
fi