Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ import torch
|
|
| 5 |
from diffusers import FluxPipeline
|
| 6 |
|
| 7 |
pipeline = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.float16).to("cuda")
|
|
|
|
| 8 |
#pipeline.enable_model_cpu_offload()
|
| 9 |
|
| 10 |
@spaces.GPU(duration=70)
|
|
|
|
| 5 |
from diffusers import FluxPipeline
|
| 6 |
|
| 7 |
pipeline = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.float16).to("cuda")
|
| 8 |
+
pipeline.load_lora_weights("pepper13/fluxfw")
|
| 9 |
#pipeline.enable_model_cpu_offload()
|
| 10 |
|
| 11 |
@spaces.GPU(duration=70)
|