Install Step python3 -m venv venv source venv/bin/activate pip3 install --upgrade pip pip3 install fastapi pip3 install python-multipart pip3 install "python-jose[cryptography]" pip3 install "passlib[bcrypt]" For GPU: pip3 install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple For CPU: pip3 install paddlepaddle -i https://mirror.baidu.com/pypi/simple pip3 install "paddleocr>=2.0.1" pip3 install uvicorn pip3 install gunicorn Running Step source venv/bin/activate nohup gunicorn fastapi_service:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind localhost:8000 &