Spaces:
Sleeping
Sleeping
change : hardcode numpy version
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -15,6 +15,7 @@ RUN pip install transformers gradio Pillow fastapi
|
|
| 15 |
RUN pip install paddleocr==2.7.0.3 \
|
| 16 |
&& pip uninstall -y opencv-python opencv-contrib-python \
|
| 17 |
&& pip install opencv-python-headless
|
|
|
|
| 18 |
|
| 19 |
RUN useradd -m -u 1000 user
|
| 20 |
USER user
|
|
|
|
| 15 |
RUN pip install paddleocr==2.7.0.3 \
|
| 16 |
&& pip uninstall -y opencv-python opencv-contrib-python \
|
| 17 |
&& pip install opencv-python-headless
|
| 18 |
+
RUN pip install numpy<2.0.0
|
| 19 |
|
| 20 |
RUN useradd -m -u 1000 user
|
| 21 |
USER user
|