rahul7star commited on
Commit
dcec9a6
·
verified ·
1 Parent(s): 815e317

Update app-quick.py

Browse files
Files changed (1) hide show
  1. app-quick.py +6 -6
app-quick.py CHANGED
@@ -35,16 +35,16 @@ scheduler = FlowMatchEulerDiscreteScheduler.from_config(scheduler_config)
35
  #"Qwen/Qwen-Image-Edit-2509",
36
  pipe = QwenImageEditPlusPipeline.from_pretrained(
37
 
38
- "blanchon/Qwen-Image-Edit-2509-FlashPack",
39
  scheduler=scheduler,
40
  torch_dtype=dtype
41
  ).to(device)
42
 
43
- # pipe.load_lora_weights(
44
- # "rahul7star/qwen-char-lora",
45
- # weight_name="qwen_lora/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16_dim1.safetensors"
46
- # )
47
- # pipe.fuse_lora(lora_scale=1.0)
48
 
49
 
50
  # pipe.load_lora_weights(
 
35
  #"Qwen/Qwen-Image-Edit-2509",
36
  pipe = QwenImageEditPlusPipeline.from_pretrained(
37
 
38
+ "Qwen/Qwen-Image-Edit-2509",
39
  scheduler=scheduler,
40
  torch_dtype=dtype
41
  ).to(device)
42
 
43
+ pipe.load_lora_weights(
44
+ "rahul7star/qwen-char-lora",
45
+ weight_name="qwen_lora/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16_dim1.safetensors"
46
+ )
47
+ pipe.fuse_lora(lora_scale=1.0)
48
 
49
 
50
  # pipe.load_lora_weights(