From c81184b728de8e5e6a09d64b40106f73bea45ebf Mon Sep 17 00:00:00 2001 From: Acly Date: Sat, 28 Oct 2023 10:48:36 +0200 Subject: [PATCH] Update docker image with upscaling requirements --- ai_diffusion/__init__.py | 2 +- scripts/docker.py | 5 ++++- scripts/docker/Dockerfile | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ai_diffusion/__init__.py b/ai_diffusion/__init__.py index f55a17b0f..b96753e54 100644 --- a/ai_diffusion/__init__.py +++ b/ai_diffusion/__init__.py @@ -1,6 +1,6 @@ """Generative AI plugin for Krita using Stable Diffusion""" -__version__ = "1.4.0" +__version__ = "1.5.0" from . import util from .settings import Settings, Setting, settings, PerformancePreset, ServerBackend, ServerMode diff --git a/scripts/docker.py b/scripts/docker.py index 2b03e198e..9019baea5 100644 --- a/scripts/docker.py +++ b/scripts/docker.py @@ -19,7 +19,10 @@ def all_models(): return chain( - resources.required_models, resources.optional_models, resources.default_checkpoints + resources.required_models, + resources.optional_models, + resources.default_checkpoints, + resources.upscale_models, ) diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile index 5804b79b7..2a3f61525 100644 --- a/scripts/docker/Dockerfile +++ b/scripts/docker/Dockerfile @@ -66,6 +66,7 @@ RUN git clone https://github.com/comfyanonymous/ComfyUI.git /ComfyUI && \ RUN git clone https://github.com/ltdrdata/ComfyUI-Manager.git /ComfyUI/custom_nodes/ComfyUI-Manager && \ git clone https://github.com/Fannovel16/comfyui_controlnet_aux /ComfyUI/custom_nodes/comfyui_controlnet_aux && \ git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus /ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus && \ + git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale /ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale --recursive && \ git clone https://github.com/Acly/comfyui-tooling-nodes /ComfyUI/custom_nodes/comfyui-tooling-nodes && \ pip3 install -r /ComfyUI/custom_nodes/ComfyUI-Manager/requirements.txt && \ pip3 install -r /ComfyUI/custom_nodes/comfyui_controlnet_aux/requirements.txt && \