Skip to content

Commit 9d41fcf

Browse files
author
maple liang
committed
change env in script
1 parent 75819ba commit 9d41fcf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

run_comfyui.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Default values
44
CUDA_DEVICE=""
5-
EXPECTED_PYTHON_PATH="/home/ai/mambaforge/envs/aigc/bin/python"
5+
EXPECTED_PYTHON_PATH="/home/ai/mambaforge/envs/comfyui/bin/python"
66

77
# Parse command-line options
88
while [[ $# -gt 0 ]]; do
@@ -25,7 +25,7 @@ if [ -z "$CUDA_DEVICE" ] ; then
2525
fi
2626

2727

28-
source /home/ai/mambaforge/bin/activate aigc
28+
source /home/ai/mambaforge/bin/activate comfyui
2929

3030
# Check python path
3131
current_python_path=$(which python)
@@ -39,6 +39,6 @@ export http_proxy="http://localhost:9910" https_proxy="http://localhost:9910" HT
3939
echo "Using proxy ${http_proxy}"
4040

4141
# Set TensorRT
42-
export LD_LIBRARY_PATH="/home/ai/mambaforge/envs/aigc/lib/python3.10/site-packages/tensorrt_libs:$LD_LIBRARY_PATH"
42+
export LD_LIBRARY_PATH="/home/ai/mambaforge/envs/comfyui/lib/python3.10/site-packages/tensorrt_libs:$LD_LIBRARY_PATH"
4343

44-
python main.py --listen --port 8188 --cuda-device "$CUDA_DEVICE"
44+
python main.py --listen --port 8188 --cuda-device "$CUDA_DEVICE"

0 commit comments

Comments
 (0)