ADD 添加Modal ComfyUI 部署相关文件

This commit is contained in:
2025-02-28 15:11:04 +08:00
commit 24b3b021ee
4 changed files with 388 additions and 0 deletions

8
upload.py Normal file
View File

@@ -0,0 +1,8 @@
import modal
vol = modal.Volume.from_name("comfyui-model")
with vol.batch_upload() as batch:
# batch.put_directory("D:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\ComfyUI-LatentSync-Node\checkpoints", "ComfyUI-LatentSync-Node/checkpoints")
# batch.put_directory("D:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\ComfyUI-CustomNode\model", "ComfyUI-CustomNode/model")
batch.put_directory(r"D:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\CosyVoice-ComfyUI\pretrained_models\CosyVoice-300M-SFT","CosyVoice-ComfyUI/pretrained_models/CosyVoice-300M-SFT")