Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -71,6 +71,8 @@ RUN cd third_party/StableCascade/models && \
|
|
| 71 |
# Install StableCascade requirements
|
| 72 |
RUN cd third_party/StableCascade && \
|
| 73 |
pip install --no-cache-dir -r requirements.txt && \
|
|
|
|
|
|
|
| 74 |
pip install --no-cache-dir jupyter notebook opencv-python matplotlib ftfy && \
|
| 75 |
cd ../..
|
| 76 |
|
|
@@ -111,7 +113,7 @@ RUN pip install --no-cache-dir git+https://github.com/IDEA-Research/GroundingDIN
|
|
| 111 |
cd ..
|
| 112 |
|
| 113 |
# Upgrade pip and install Gradio
|
| 114 |
-
RUN python3 -m pip install --no-cache-dir gradio==5.44.1 accelerate==1.0.1
|
| 115 |
|
| 116 |
# Copy the app.py file from the host to the container
|
| 117 |
COPY --chown=user:user app.py .
|
|
|
|
| 71 |
# Install StableCascade requirements
|
| 72 |
RUN cd third_party/StableCascade && \
|
| 73 |
pip install --no-cache-dir -r requirements.txt && \
|
| 74 |
+
pip install --no-cache-dir pybind11>=2.12 && \
|
| 75 |
+
pip install --no-cache-dir numpy==1.26.4
|
| 76 |
pip install --no-cache-dir jupyter notebook opencv-python matplotlib ftfy && \
|
| 77 |
cd ../..
|
| 78 |
|
|
|
|
| 113 |
cd ..
|
| 114 |
|
| 115 |
# Upgrade pip and install Gradio
|
| 116 |
+
RUN python3 -m pip install --no-cache-dir gradio==5.44.1 accelerate==1.0.1
|
| 117 |
|
| 118 |
# Copy the app.py file from the host to the container
|
| 119 |
COPY --chown=user:user app.py .
|