From f0cc3b37088702acd12e45d4c98dc3c764ac1737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Tue, 14 Nov 2023 09:57:40 +0100 Subject: [PATCH] Disregard typing_extensions and pydantic versions --- Dockerfile | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index cb5fed6..34c547b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ diff --git a/README.md b/README.md index bf071eb..a26e1bb 100644 --- a/README.md +++ b/README.md @@ -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.