Spaces:
Running
on
Zero
Running
on
Zero
| 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 |