Spaces:
Sleeping
Sleeping
Remove typing_extension and pydantic hacks in Dockerfile
Browse files- Dockerfile +0 -6
Dockerfile
CHANGED
@@ -29,12 +29,6 @@ WORKDIR /code
|
|
29 |
COPY ./demo/requirements.txt /code/demo/requirements.txt
|
30 |
RUN pip install --no-cache-dir --upgrade -r /code/demo/requirements.txt
|
31 |
|
32 |
-
# resolve issue with tf==2.4 and gradio dependency collision issue
|
33 |
-
RUN pip install --force-reinstall typing_extensions==4.7.1
|
34 |
-
|
35 |
-
# lower pydantic version to work with typing_extensions deprecation
|
36 |
-
RUN pip install --force-reinstall "pydantic<2.0.0"
|
37 |
-
|
38 |
# Install wget
|
39 |
RUN apt install wget -y && \
|
40 |
apt install unzip
|
|
|
29 |
COPY ./demo/requirements.txt /code/demo/requirements.txt
|
30 |
RUN pip install --no-cache-dir --upgrade -r /code/demo/requirements.txt
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
# Install wget
|
33 |
RUN apt install wget -y && \
|
34 |
apt install unzip
|