Spaces:
Paused
Paused
Upload Dockerfile
Browse files- Dockerfile +24 -8
Dockerfile
CHANGED
|
@@ -61,6 +61,7 @@ RUN echo "Downloading checkpoints..." && \
|
|
| 61 |
# VAE
|
| 62 |
wget -c https://huggingface.co/RedRayz/MyVAE/resolve/main/CleanVAE.safetensors -P ./models/vae/ && \
|
| 63 |
wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/ && \
|
|
|
|
| 64 |
|
| 65 |
# ControlNet
|
| 66 |
wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/ && \
|
|
@@ -83,7 +84,11 @@ RUN echo "Downloading checkpoints..." && \
|
|
| 83 |
|
| 84 |
# ESRGAN upscale model
|
| 85 |
wget -c https://huggingface.co/konohashinobi4/4xAnimesharp/resolve/main/4x-AnimeSharp.pth -P ./models/upscale_models/ && \
|
| 86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
# Aesthetic scorer models
|
| 88 |
mkdir ./models/aesthetic && \
|
| 89 |
wget -c https://github.com/grexzen/SD-Chad/raw/main/chadscorer.pth -P ./models/aesthetic/ && \
|
|
@@ -96,14 +101,17 @@ RUN echo "Downloading checkpoints..." && \
|
|
| 96 |
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && \
|
| 97 |
git clone https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet.git && \
|
| 98 |
git clone https://github.com/FizzleDorf/ComfyUI_FizzNodes && \
|
| 99 |
-
git clone https://github.com/ltdrdata/ComfyUI-Workflow-Component.git
|
| 100 |
-
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
|
|
|
|
|
|
|
|
|
|
| 101 |
|
| 102 |
# Install custom nodes
|
| 103 |
echo "Installing custom nodes..."
|
| 104 |
|
| 105 |
# Controlnet Preprocessor nodes by Fannovel16
|
| 106 |
-
RUN
|
| 107 |
RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
|
| 108 |
RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
|
| 109 |
|
|
@@ -114,10 +122,18 @@ RUN echo "Downloading checkpoints..." && \
|
|
| 114 |
|
| 115 |
RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
|
| 116 |
|
| 117 |
-
RUN cd custom_nodes &&
|
| 118 |
-
RUN cd custom_nodes &&
|
| 119 |
-
|
| 120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
RUN echo "Done"
|
| 122 |
|
| 123 |
CMD ["python", "main.py", "--listen", "0.0.0.0", "--cpu", "--port", "7860", "--use-split-cross-attention", "--output-directory", "${USE_PERSISTENT_DATA:+/data/}"]
|
|
|
|
| 61 |
# VAE
|
| 62 |
wget -c https://huggingface.co/RedRayz/MyVAE/resolve/main/CleanVAE.safetensors -P ./models/vae/ && \
|
| 63 |
wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/ && \
|
| 64 |
+
wget -c https://huggingface.co/tuwonga/marblesh/resolve/main/marblesh.safetensors -P ./models/vae/ && \
|
| 65 |
|
| 66 |
# ControlNet
|
| 67 |
wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/ && \
|
|
|
|
| 84 |
|
| 85 |
# ESRGAN upscale model
|
| 86 |
wget -c https://huggingface.co/konohashinobi4/4xAnimesharp/resolve/main/4x-AnimeSharp.pth -P ./models/upscale_models/ && \
|
| 87 |
+
wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./models/upscale_models/ && \
|
| 88 |
+
wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/ && \
|
| 89 |
+
wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/ && \
|
| 90 |
+
|
| 91 |
+
|
| 92 |
# Aesthetic scorer models
|
| 93 |
mkdir ./models/aesthetic && \
|
| 94 |
wget -c https://github.com/grexzen/SD-Chad/raw/main/chadscorer.pth -P ./models/aesthetic/ && \
|
|
|
|
| 101 |
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && \
|
| 102 |
git clone https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet.git && \
|
| 103 |
git clone https://github.com/FizzleDorf/ComfyUI_FizzNodes && \
|
| 104 |
+
git clone https://github.com/ltdrdata/ComfyUI-Workflow-Component.git && \
|
| 105 |
+
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive && \
|
| 106 |
+
git clone https://github.com/BlenderNeko/ComfyUI_TiledKSampler.git && \
|
| 107 |
+
git clone https://github.com/BlenderNeko/ComfyUI_SeeCoder.git && \
|
| 108 |
+
# git clone https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes.git && \
|
| 109 |
|
| 110 |
# Install custom nodes
|
| 111 |
echo "Installing custom nodes..."
|
| 112 |
|
| 113 |
# Controlnet Preprocessor nodes by Fannovel16
|
| 114 |
+
RUN git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors && cd comfy_controlnet_preprocessors && python install.py --no_download_ckpts
|
| 115 |
RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
|
| 116 |
RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
|
| 117 |
|
|
|
|
| 122 |
|
| 123 |
RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
|
| 124 |
|
| 125 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15_v2.ckpt -P ./ComfyUI-AnimateDiff-Evolved/models/
|
| 126 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15.ckpt -P ./ComfyUI-AnimateDiff-Evolved/models/
|
| 127 |
+
|
| 128 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_PanLeft.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 129 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_PanRight.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 130 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_RollingAnticlockwise.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 131 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_RollingClockwise.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 132 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_TiltDown.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 133 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_TiltUp.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 134 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_ZoomIn.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 135 |
+
RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_ZoomOut.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/
|
| 136 |
+
|
| 137 |
RUN echo "Done"
|
| 138 |
|
| 139 |
CMD ["python", "main.py", "--listen", "0.0.0.0", "--cpu", "--port", "7860", "--use-split-cross-attention", "--output-directory", "${USE_PERSISTENT_DATA:+/data/}"]
|