Disregard typing_extensions and pydantic versions
Browse files- Dockerfile +2 -2
- README.md +2 -2
Dockerfile
CHANGED
@@ -30,10 +30,10 @@ 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 && \
|
|
|
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 && \
|
README.md
CHANGED
@@ -96,8 +96,8 @@ To access the live demo, click on the `Hugging Face` badge above. Below is a sna
|
|
96 |
Alternatively, you can deploy the software locally. Note that this is only relevant for development purposes. Simply dockerize the app and run it:
|
97 |
|
98 |
```
|
99 |
-
docker build -t
|
100 |
-
docker run -it -p 7860:7860
|
101 |
```
|
102 |
|
103 |
Then open `http://127.0.0.1:7860` in your favourite internet browser to view the demo.
|
|
|
96 |
Alternatively, you can deploy the software locally. Note that this is only relevant for development purposes. Simply dockerize the app and run it:
|
97 |
|
98 |
```
|
99 |
+
docker build -t lynos .
|
100 |
+
docker run -it -p 7860:7860 lynos
|
101 |
```
|
102 |
|
103 |
Then open `http://127.0.0.1:7860` in your favourite internet browser to view the demo.
|