Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ if not path.exists(cache_path):
|
|
32 |
|
33 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
34 |
pipe.load_lora_weights(hf_hub_download("bdsqlsz/Hyper-Flux1-dev", "Hyper-FLUX.1-dev-8steps-lora_rank1.safetensors"))
|
35 |
-
pipe.fuse_lora(lora_scale=
|
36 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
37 |
|
38 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
|
32 |
|
33 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
34 |
pipe.load_lora_weights(hf_hub_download("bdsqlsz/Hyper-Flux1-dev", "Hyper-FLUX.1-dev-8steps-lora_rank1.safetensors"))
|
35 |
+
pipe.fuse_lora(lora_scale=2.0)
|
36 |
pipe.to(device="cuda", dtype=torch.bfloat16)
|
37 |
|
38 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|