Update Vast5-Flux.sh
Browse files- Vast5-Flux.sh +3 -4
Vast5-Flux.sh
CHANGED
|
@@ -37,6 +37,7 @@ VAE_MODELS=(
|
|
| 37 |
)
|
| 38 |
|
| 39 |
LORA_MODELS=(
|
|
|
|
| 40 |
)
|
| 41 |
|
| 42 |
ESRGAN_MODELS=(
|
|
@@ -59,12 +60,10 @@ function provisioning_start() {
|
|
| 59 |
|
| 60 |
# Get licensed models if HF_TOKEN set & valid
|
| 61 |
if provisioning_has_valid_hf_token; then
|
| 62 |
-
|
| 63 |
-
UNET_MODELS+=("https://huggingface.co/enhanceaiteam/Flux-uncensored/resolve/main/lora.safetensors")
|
| 64 |
VAE_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/ae.safetensors")
|
| 65 |
else
|
| 66 |
-
|
| 67 |
-
UNET_MODELS+=("https://huggingface.co/enhanceaiteam/Flux-uncensored/resolve/main/lora.safetensors")
|
| 68 |
VAE_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors")
|
| 69 |
sed -i 's/flux1-dev\.safetensors/flux1-schnell.safetensors/g' /opt/ComfyUI/web/scripts/defaultGraph.js
|
| 70 |
fi
|
|
|
|
| 37 |
)
|
| 38 |
|
| 39 |
LORA_MODELS=(
|
| 40 |
+
"https://huggingface.co/enhanceaiteam/Flux-Uncensored-V2/resolve/main/lora.safetensors"
|
| 41 |
)
|
| 42 |
|
| 43 |
ESRGAN_MODELS=(
|
|
|
|
| 60 |
|
| 61 |
# Get licensed models if HF_TOKEN set & valid
|
| 62 |
if provisioning_has_valid_hf_token; then
|
| 63 |
+
UNET_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/flux1-dev.safetensors")
|
|
|
|
| 64 |
VAE_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/ae.safetensors")
|
| 65 |
else
|
| 66 |
+
UNET_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/flux1-schnell.safetensors")
|
|
|
|
| 67 |
VAE_MODELS+=("https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors")
|
| 68 |
sed -i 's/flux1-dev\.safetensors/flux1-schnell.safetensors/g' /opt/ComfyUI/web/scripts/defaultGraph.js
|
| 69 |
fi
|