kmuthudurai commited on
Commit
d3f944d
·
verified ·
1 Parent(s): 39fc86b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 gradio Pillow fastapi
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 gradio Pillow fastapi pypdf2 fitz
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