From a740f9da6d6ac1a83669a8f4b6ec19d842cfea46 Mon Sep 17 00:00:00 2001 From: simonmcnair <101189766+simonmcnair@users.noreply.github.com> Date: Mon, 24 Mar 2025 22:03:43 +0000 Subject: [PATCH] Update Dockerfile --- services/AUTOMATIC1111/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index cc38822..87d2fb6 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -80,8 +80,10 @@ RUN pip install --upgrade typing-extensions RUN if [ -d "/opt/conda/lib/python3.10" ]; then \ + echo Python 3.10 detected; \ sed -i 's/in_app_dir = .*/in_app_dir = True/g' /opt/conda/lib/python3.10/site-packages/gradio/routes.py ;\ elif [ -d "/opt/conda/lib/python3.11" ]; then \ + echo Python 3.11 detected; \ sed -i 's/in_app_dir = .*/in_app_dir = True/g' /opt/conda/lib/python3.11/site-packages/gradio/routes.py ;\ fi && \ # mv ${ROOT}/style.css ${ROOT}/user.css && \