Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse filesRemoved this :(
# Install Python dependencies with specific versions
RUN pip3 install --no-cache-dir \
tensorflow==2.13.1 \
numpy==1.24.3 \
opencv-python-headless \
matplotlib \
typing-extensions==4.8.0 \
gradio==3.0.12
- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -16,15 +16,15 @@ RUN pip3 install --no-cache-dir scikit-build
|
|
| 16 |
# Set MPLCONFIGDIR environment variable to a writable directory
|
| 17 |
ENV MPLCONFIGDIR=/tmp/.config/matplotlib
|
| 18 |
|
| 19 |
-
# Install Python dependencies
|
| 20 |
RUN pip3 install --no-cache-dir \
|
| 21 |
tensorflow==2.13.1 \
|
| 22 |
numpy==1.24.3 \
|
| 23 |
opencv-python-headless \
|
| 24 |
matplotlib \
|
| 25 |
-
typing-extensions==4.8.0 \
|
| 26 |
gradio==3.0.12
|
| 27 |
|
|
|
|
| 28 |
# Expose the port the app runs on
|
| 29 |
EXPOSE 7860
|
| 30 |
|
|
|
|
| 16 |
# Set MPLCONFIGDIR environment variable to a writable directory
|
| 17 |
ENV MPLCONFIGDIR=/tmp/.config/matplotlib
|
| 18 |
|
| 19 |
+
# Install Python dependencies without specifying versions for typing-extensions
|
| 20 |
RUN pip3 install --no-cache-dir \
|
| 21 |
tensorflow==2.13.1 \
|
| 22 |
numpy==1.24.3 \
|
| 23 |
opencv-python-headless \
|
| 24 |
matplotlib \
|
|
|
|
| 25 |
gradio==3.0.12
|
| 26 |
|
| 27 |
+
|
| 28 |
# Expose the port the app runs on
|
| 29 |
EXPOSE 7860
|
| 30 |
|