File size: 594 Bytes
56ef371
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
echo "--- install dependencies ---"
pip install -r requirements.txt

# 2. 检查基础包是否安装成功
if [ $? -ne 0 ]; then
  echo "install dependencies failed, exit."
  exit 1
fi

echo "--- install dependencies successfully ---"
echo "--- compile and install local 'ops' package ---"

pip install --no-build-isolation -e ./VLM-FO1/detect_tools/upn/ops

if [ $? -ne 0 ]; then
  echo "compile and install local 'ops' package failed, exit."
  exit 1
fi

echo "--- compile and install local 'ops' package successfully ---"
echo "--- launch Gradio application ---"

python demo/gradio_demo.py