Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -11,7 +11,7 @@ RUN pip install paddlepaddle -i https://pypi.org/simple
|
|
| 11 |
|
| 12 |
# Install dependencies
|
| 13 |
RUN pip install torch==2.1.1 -i https://download.pytorch.org/whl/cpu
|
| 14 |
-
RUN pip install transformers fastapi pypdf2 fitz boto3 pillow openai==0.28 setuptools pymupdf python-dotenv
|
| 15 |
# Install libGL (needed for OpenCV)
|
| 16 |
RUN apt-get update && apt-get install -y libgl1
|
| 17 |
RUN pip install paddleocr==2.7.0.3 && pip uninstall -y opencv-python opencv-contrib-python && pip install opencv-python
|
|
|
|
| 11 |
|
| 12 |
# Install dependencies
|
| 13 |
RUN pip install torch==2.1.1 -i https://download.pytorch.org/whl/cpu
|
| 14 |
+
RUN pip install transformers fastapi pypdf2 fitz boto3 pillow openai==0.28 setuptools pymupdf python-dotenv uvicorn
|
| 15 |
# Install libGL (needed for OpenCV)
|
| 16 |
RUN apt-get update && apt-get install -y libgl1
|
| 17 |
RUN pip install paddleocr==2.7.0.3 && pip uninstall -y opencv-python opencv-contrib-python && pip install opencv-python
|