Skip to content

Commit

Permalink
Merge pull request #10 from andreped/ShinyModel3D
Browse files Browse the repository at this point in the history
Disregard typing_extensions and pydantic versions
  • Loading branch information
andreped authored Nov 14, 2023
2 parents 1d8ac2e + f0cc3b3 commit bad9e67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ COPY ./demo/requirements.txt /code/demo/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/demo/requirements.txt

# resolve issue with tf==2.4 and gradio dependency collision issue
RUN pip install --force-reinstall typing_extensions==4.7.1
#RUN pip install --force-reinstall typing_extensions==4.7.1

# lower pydantic version to work with typing_extensions deprecation
RUN pip install --force-reinstall "pydantic<2.0.0"
#RUN pip install --force-reinstall "pydantic<2.0.0"

# Install wget
RUN apt install wget -y && \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ To access the live demo, click on the `Hugging Face` badge above. Below is a sna
Alternatively, you can deploy the software locally. Note that this is only relevant for development purposes. Simply dockerize the app and run it:

```
docker build -t LyNoS .
docker run -it -p 7860:7860 LyNoS
docker build -t lynos .
docker run -it -p 7860:7860 lynos
```

Then open `http://127.0.0.1:7860` in your favourite internet browser to view the demo.
Expand Down

0 comments on commit bad9e67

Please sign in to comment.