|
@@ -8,6 +8,9 @@ while true; do
|
|
|
#python -m pip install -r requirements-qa.txt
|
|
#python -m pip install -r requirements-qa.txt
|
|
|
python -m pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple
|
|
python -m pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple
|
|
|
python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
|
|
python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
|
|
|
|
|
+ pip install modelscope
|
|
|
|
|
+ wget https://gitee.com/myhloli/MinerU/raw/master/scripts/download_models.py -O download_models.py
|
|
|
|
|
+ python download_models.py
|
|
|
exit_code=$?
|
|
exit_code=$?
|
|
|
if [ $exit_code -eq 0 ]; then
|
|
if [ $exit_code -eq 0 ]; then
|
|
|
echo "test.sh 成功执行!"
|
|
echo "test.sh 成功执行!"
|