Spaces:
Sleeping
Sleeping
Merge pull request #61 from andreped/pydantic-fix
Browse filesRemove pedantic and typing_extension installation instruction hacks in Dockerfile
- Dockerfile +0 -6
- README.md +2 -2
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
|
README.md
CHANGED
@@ -91,8 +91,8 @@ To access the live demo, click on the `Hugging Face` badge above. Below is a sna
|
|
91 |
Alternatively, you can deploy the software locally. Note that this is only relevant for development purposes. Simply dockerize the app and run it:
|
92 |
|
93 |
```
|
94 |
-
docker build -t
|
95 |
-
docker run -it -p 7860:7860
|
96 |
```
|
97 |
|
98 |
Then open `http://127.0.0.1:7860` in your favourite internet browser to view the demo.
|
|
|
91 |
Alternatively, you can deploy the software locally. Note that this is only relevant for development purposes. Simply dockerize the app and run it:
|
92 |
|
93 |
```
|
94 |
+
docker build -t aeropath .
|
95 |
+
docker run -it -p 7860:7860 aeropath
|
96 |
```
|
97 |
|
98 |
Then open `http://127.0.0.1:7860` in your favourite internet browser to view the demo.
|