From 8e577e2d60957959ba02f474b2913d84a9086b82 Mon Sep 17 00:00:00 2001 From: Raphael Glon Date: Thu, 3 Oct 2024 09:16:59 +0200 Subject: [PATCH] upgrade diffusers image with latest api-inference-community package (0.0.36) Signed-off-by: Raphael Glon --- docker_images/diffusers/Dockerfile | 4 ++-- docker_images/diffusers/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker_images/diffusers/Dockerfile b/docker_images/diffusers/Dockerfile index b9a8452a..674e8ad0 100644 --- a/docker_images/diffusers/Dockerfile +++ b/docker_images/diffusers/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get update && \ RUN curl https://pyenv.run | bash # Set environment variables for pyenv -ENV PYENV_ROOT /root/.pyenv -ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH +ENV PYENV_ROOT=/root/.pyenv +ENV PATH=$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH # Install your desired Python version ARG PYTHON_VERSION=3.9.1 diff --git a/docker_images/diffusers/requirements.txt b/docker_images/diffusers/requirements.txt index 7fef42b5..a809e09b 100644 --- a/docker_images/diffusers/requirements.txt +++ b/docker_images/diffusers/requirements.txt @@ -1,5 +1,5 @@ starlette==0.27.0 -api-inference-community==0.0.33 +api-inference-community==0.0.36 # to be replaced with diffusers 0.31.0 as soon as released git+https://github.com/huggingface/diffusers.git@2a3fbc2cc269aa0c0d5cfdfaa3564d769d92b882 transformers==4.41.2