Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ class timer:
|
|
30 |
if not path.exists(cache_path):
|
31 |
os.makedirs(cache_path, exist_ok=True)
|
32 |
|
33 |
-
pipe = FluxPipeline.from_pretrained("city96/FLUX.1-schnell-gguf"
|
34 |
pipe.load_lora_weights(hf_hub_download("ByteDance/Hyper-SD", "Hyper-FLUX.1-dev-8steps-lora.safetensors"))
|
35 |
pipe.fuse_lora(lora_scale=0.125)
|
36 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
|
|
30 |
if not path.exists(cache_path):
|
31 |
os.makedirs(cache_path, exist_ok=True)
|
32 |
|
33 |
+
pipe = FluxPipeline.from_pretrained("https://huggingface.co/city96/FLUX.1-schnell-gguf/resolve/main/flux1-schnell-Q3_K_S.gguf")
|
34 |
pipe.load_lora_weights(hf_hub_download("ByteDance/Hyper-SD", "Hyper-FLUX.1-dev-8steps-lora.safetensors"))
|
35 |
pipe.fuse_lora(lora_scale=0.125)
|
36 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|