Skip to content

Commit

Permalink
tune Impact-Pack
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Dec 13, 2024
1 parent 67a8d89 commit 5b2b7bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion builder/stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ curl -sSL https://github.com/TencentARC/GFPGAN/releases/download/v1.3.4/GFPGANv1
curl -sSL https://huggingface.co/datasets/Gourieff/ReActor/resolve/main/models/inswapper_128_fp16.onnx \
--create-dirs -o insightface/inswapper_128_fp16.onnx

# Download models for Impact-Pack & Impact-Subpack
cd "$workdir"/ComfyUI_Windows_portable/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
"$workdir"/ComfyUI_Windows_portable/python_embeded/python.exe -s -B install.py
cd "$workdir"/ComfyUI_Windows_portable/ComfyUI/custom_nodes/ComfyUI-Impact-Subpack
"$workdir"/ComfyUI_Windows_portable/python_embeded/python.exe -s -B install.py

# Run test, also let custom nodes download some models
cd "$workdir"/ComfyUI_Windows_portable
./python_embeded/python.exe -s -B ComfyUI/main.py --quick-test-for-ci --cpu
Expand All @@ -129,7 +135,6 @@ rm "$workdir"/ComfyUI_Windows_portable/*.log
cd "$workdir"/ComfyUI_Windows_portable/ComfyUI/custom_nodes
rm ./was-node-suite-comfyui/was_suite_config.json
rm ./ComfyUI-Manager/config.ini
rm ./ComfyUI-Impact-Pack/impact-pack.ini
rm ./ComfyUI-Custom-Scripts/pysssss.json

cd "$workdir"

0 comments on commit 5b2b7bf

Please sign in to comment.