Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,12 +11,12 @@ import spaces
|
|
| 11 |
from comfy import model_management
|
| 12 |
|
| 13 |
CHROMA_VERSION = "Chroma1-HD-flash-heun/Chroma1-HD-flash-heun-fp8_scaled_original_hybrid_large.safetensors"
|
| 14 |
-
LORA_VERSION = "
|
| 15 |
# Download required models
|
| 16 |
t5_path = hf_hub_download(repo_id="silveroxides/flan-t5-xxl-encoder-only", filename="flan-t5-xxl_float8_e4m3fn_scaled_stochastic.safetensors", local_dir="models/text_encoders/")
|
| 17 |
vae_path = hf_hub_download(repo_id="lodestones/Chroma", filename="ae.safetensors", local_dir="models/vae")
|
| 18 |
unet_path = hf_hub_download(repo_id="silveroxides/Chroma-Misc-Models", filename=CHROMA_VERSION, local_dir="models/unet")
|
| 19 |
-
lora_path = hf_hub_download(repo_id="
|
| 20 |
|
| 21 |
# Example prompts with their parameters
|
| 22 |
EXAMPLES = [
|
|
|
|
| 11 |
from comfy import model_management
|
| 12 |
|
| 13 |
CHROMA_VERSION = "Chroma1-HD-flash-heun/Chroma1-HD-flash-heun-fp8_scaled_original_hybrid_large.safetensors"
|
| 14 |
+
LORA_VERSION = "DatasetTest4.safetensors"
|
| 15 |
# Download required models
|
| 16 |
t5_path = hf_hub_download(repo_id="silveroxides/flan-t5-xxl-encoder-only", filename="flan-t5-xxl_float8_e4m3fn_scaled_stochastic.safetensors", local_dir="models/text_encoders/")
|
| 17 |
vae_path = hf_hub_download(repo_id="lodestones/Chroma", filename="ae.safetensors", local_dir="models/vae")
|
| 18 |
unet_path = hf_hub_download(repo_id="silveroxides/Chroma-Misc-Models", filename=CHROMA_VERSION, local_dir="models/unet")
|
| 19 |
+
lora_path = hf_hub_download(repo_id="Alme995/DatasetTest_Loras_Chroma", filename=LORA_VERSION, local_dir="models/loras")
|
| 20 |
|
| 21 |
# Example prompts with their parameters
|
| 22 |
EXAMPLES = [
|