newturok commited on
Commit
0057964
·
verified ·
1 Parent(s): 44a9e20

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +5 -4
start.sh CHANGED
@@ -37,6 +37,10 @@ if [ -d "/workspace/venv" ]; then
37
  fi
38
 
39
 
 
 
 
 
40
  # Function to download a file if it doesn't exist
41
  download_file() {
42
  local url=$1
@@ -52,6 +56,7 @@ download_file() {
52
  fi
53
  }
54
 
 
55
  # VAE model
56
  download_file "https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/ae.sft?download=true" \
57
  "/ComfyUI/models/vae" \
@@ -76,8 +81,4 @@ echo "All required files have been checked/Downloaded!"
76
 
77
 
78
 
79
-
80
- # Execute the user's script
81
- python3 /workspace/ComfyUI/main.py --listen
82
-
83
  sleep infinity
 
37
  fi
38
 
39
 
40
+ # RUN COMFYUI
41
+ python3 /workspace/ComfyUI/main.py --listen
42
+
43
+
44
  # Function to download a file if it doesn't exist
45
  download_file() {
46
  local url=$1
 
56
  fi
57
  }
58
 
59
+
60
  # VAE model
61
  download_file "https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/ae.sft?download=true" \
62
  "/ComfyUI/models/vae" \
 
81
 
82
 
83
 
 
 
 
 
84
  sleep infinity