nroggendorff commited on
Commit
dbe7fef
·
verified ·
1 Parent(s): 618ee5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)