Update Flux_Schnell.sh
Browse files- Flux_Schnell.sh +4 -13
Flux_Schnell.sh
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
|
| 7 |
# Packages are installed after nodes so we can fix them...
|
| 8 |
|
| 9 |
-
DEFAULT_WORKFLOW="https://raw.githubusercontent.com/ai-dock/comfyui/main/config/workflows/flux-comfyui-example.json"
|
| 10 |
|
| 11 |
APT_PACKAGES=(
|
| 12 |
#"package-1"
|
|
@@ -32,9 +32,11 @@ CLIP_MODELS=(
|
|
| 32 |
)
|
| 33 |
|
| 34 |
UNET_MODELS=(
|
|
|
|
| 35 |
)
|
| 36 |
|
| 37 |
VAE_MODELS=(
|
|
|
|
| 38 |
)
|
| 39 |
|
| 40 |
LORA_MODELS=(
|
|
@@ -64,18 +66,7 @@ function provisioning_start() {
|
|
| 64 |
source /opt/ai-dock/etc/environment.sh
|
| 65 |
source /opt/ai-dock/bin/venv-set.sh comfyui
|
| 66 |
|
| 67 |
-
|
| 68 |
-
if provisioning_has_valid_hf_token; then
|
| 69 |
-
UNET_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/flux1-schnell.safetensors")
|
| 70 |
-
#UNET_MODELS+=("https://huggingface.co/city96/FLUX.1-schnell-gguf/resolve/main/flux1-schnell-Q8_0.gguf")
|
| 71 |
-
VAE_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors")
|
| 72 |
-
else
|
| 73 |
-
UNET_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/flux1-schnell.safetensors")
|
| 74 |
-
#UNET_MODELS+=("https://huggingface.co/city96/FLUX.1-schnell-gguf/resolve/main/flux1-schnell-Q8_0.gguf")
|
| 75 |
-
VAE_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors")
|
| 76 |
-
sed -i 's/flux1-dev\.safetensors/flux1-schnell.safetensors/g' /opt/ComfyUI/web/scripts/defaultGraph.js
|
| 77 |
-
fi
|
| 78 |
-
|
| 79 |
provisioning_print_header
|
| 80 |
provisioning_get_apt_packages
|
| 81 |
provisioning_get_default_workflow
|
|
|
|
| 6 |
|
| 7 |
# Packages are installed after nodes so we can fix them...
|
| 8 |
|
| 9 |
+
#DEFAULT_WORKFLOW="https://raw.githubusercontent.com/ai-dock/comfyui/main/config/workflows/flux-comfyui-example.json"
|
| 10 |
|
| 11 |
APT_PACKAGES=(
|
| 12 |
#"package-1"
|
|
|
|
| 32 |
)
|
| 33 |
|
| 34 |
UNET_MODELS=(
|
| 35 |
+
"https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/flux1-schnell.safetensors"
|
| 36 |
)
|
| 37 |
|
| 38 |
VAE_MODELS=(
|
| 39 |
+
"https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors"
|
| 40 |
)
|
| 41 |
|
| 42 |
LORA_MODELS=(
|
|
|
|
| 66 |
source /opt/ai-dock/etc/environment.sh
|
| 67 |
source /opt/ai-dock/bin/venv-set.sh comfyui
|
| 68 |
|
| 69 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
provisioning_print_header
|
| 71 |
provisioning_get_apt_packages
|
| 72 |
provisioning_get_default_workflow
|