ovi054 commited on
Commit
fde9193
·
verified ·
1 Parent(s): 1016668

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ from diffusers.utils import load_image
18
  MAX_SEED = np.iinfo(np.int32).max
19
 
20
  pipe = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", torch_dtype=torch.bfloat16).to("cuda")
21
- pipe.load_lora_weights("ovi054/Draw2Photo")
22
  pipe.fuse_lora()
23
  # optimize_pipeline_(pipe, image=Image.new("RGB", (512, 512)), prompt='prompt')
24
 
 
18
  MAX_SEED = np.iinfo(np.int32).max
19
 
20
  pipe = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", torch_dtype=torch.bfloat16).to("cuda")
21
+ pipe.load_lora_weights("ovi054/Draw2Photo-Kontext-LoRA")
22
  pipe.fuse_lora()
23
  # optimize_pipeline_(pipe, image=Image.new("RGB", (512, 512)), prompt='prompt')
24