FIX 更新latentsync-node 减少无效时间占用
This commit is contained in:
parent
75bffc1310
commit
e2135dd915
|
|
@ -23,6 +23,9 @@ image = ( # build up a Modal Image to run ComfyUI, step by step
|
||||||
.pip_install("Pillow")
|
.pip_install("Pillow")
|
||||||
.pip_install("ffmpy")
|
.pip_install("ffmpy")
|
||||||
.pip_install("opencv-python")
|
.pip_install("opencv-python")
|
||||||
|
.pip_install("av")
|
||||||
|
.pip_install("imageio")
|
||||||
|
.pip_install("loguru")
|
||||||
.run_commands( # use comfy-cli to install ComfyUI and its dependencies
|
.run_commands( # use comfy-cli to install ComfyUI and its dependencies
|
||||||
"comfy --skip-prompt install --nvidia --version 0.3.10"
|
"comfy --skip-prompt install --nvidia --version 0.3.10"
|
||||||
)
|
)
|
||||||
|
|
@ -38,7 +41,6 @@ image = (
|
||||||
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/ComfyUI-CustomNode.git")
|
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/ComfyUI-CustomNode.git")
|
||||||
.run_commands("comfy node install https://github.com/BennyKok/comfyui-deploy")
|
.run_commands("comfy node install https://github.com/BennyKok/comfyui-deploy")
|
||||||
.run_commands("comfy node install https://github.com/yolain/ComfyUI-Easy-Use")
|
.run_commands("comfy node install https://github.com/yolain/ComfyUI-Easy-Use")
|
||||||
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/ComfyUI-LatentSync-Node.git")
|
|
||||||
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/ComfyUI-VideoHelperSuite.git")
|
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/ComfyUI-VideoHelperSuite.git")
|
||||||
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/CosyVoice-ComfyUI.git")
|
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/CosyVoice-ComfyUI.git")
|
||||||
.run_commands("comfy node install https://github.com/jags111/efficiency-nodes-comfyui")
|
.run_commands("comfy node install https://github.com/jags111/efficiency-nodes-comfyui")
|
||||||
|
|
@ -46,6 +48,8 @@ image = (
|
||||||
.run_commands("comfy node install https://github.com/rgthree/rgthree-comfy")
|
.run_commands("comfy node install https://github.com/rgthree/rgthree-comfy")
|
||||||
.run_commands("comfy node install https://github.com/cubiq/ComfyUI_essentials")
|
.run_commands("comfy node install https://github.com/cubiq/ComfyUI_essentials")
|
||||||
.run_commands("comfy node install https://github.com/melMass/comfy_mtb")
|
.run_commands("comfy node install https://github.com/melMass/comfy_mtb")
|
||||||
|
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/ComfyUI-FFmpeg.git")
|
||||||
|
.run_commands("comfy node install https://e.coding.net/g-ldyi2063/dev/ComfyUI-LatentSync-Node.git")
|
||||||
.run_commands(
|
.run_commands(
|
||||||
"mkdir -p /root/comfy/ComfyUI/models/ComfyUI-CustomNode/model && rm -rf /root/comfy/ComfyUI/custom_nodes/ComfyUI-CustomNode/model && ln -s /root/comfy/ComfyUI/models/ComfyUI-CustomNode/model /root/comfy/ComfyUI/custom_nodes/ComfyUI-CustomNode/model"
|
"mkdir -p /root/comfy/ComfyUI/models/ComfyUI-CustomNode/model && rm -rf /root/comfy/ComfyUI/custom_nodes/ComfyUI-CustomNode/model && ln -s /root/comfy/ComfyUI/models/ComfyUI-CustomNode/model /root/comfy/ComfyUI/custom_nodes/ComfyUI-CustomNode/model"
|
||||||
).run_commands(
|
).run_commands(
|
||||||
|
|
@ -60,11 +64,7 @@ image = (
|
||||||
"rm -rf /root/comfy/ComfyUI/models"
|
"rm -rf /root/comfy/ComfyUI/models"
|
||||||
).run_commands(
|
).run_commands(
|
||||||
"apt update && apt install -y ffmpeg && ffmpeg -version"
|
"apt update && apt install -y ffmpeg && ffmpeg -version"
|
||||||
).pip_install(
|
).add_local_file("config.yaml", "/root/comfy/ComfyUI/custom_nodes/ComfyUI-CustomNode/config.yaml", copy=True)
|
||||||
"av"
|
|
||||||
).run_commands(
|
|
||||||
"comfy node install https://e.coding.net/g-ldyi2063/dev/ComfyUI-FFmpeg.git"
|
|
||||||
)
|
|
||||||
# Add .run_commands(...) calls for any other custom nodes you want to download
|
# Add .run_commands(...) calls for any other custom nodes you want to download
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue