Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from diffusers import FluxPipeline
|
|
6 |
# Initialize model outside the function
|
7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
8 |
dtype = torch.bfloat16
|
9 |
-
file_url = "https://huggingface.co/lodestones/Chroma/
|
10 |
|
11 |
flux_pipeline = FluxPipeline.from_single_file(file_url, torch_dtype=dtype)
|
12 |
flux_pipeline.to(device)
|
|
|
6 |
# Initialize model outside the function
|
7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
8 |
dtype = torch.bfloat16
|
9 |
+
file_url = "https://huggingface.co/lodestones/Chroma/blob/main/chroma-unlocked-v31.safetensors"
|
10 |
|
11 |
flux_pipeline = FluxPipeline.from_single_file(file_url, torch_dtype=dtype)
|
12 |
flux_pipeline.to(device)
|