GiorgioV commited on
Commit
1ee9a34
·
verified ·
1 Parent(s): 3705b9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -112,8 +112,8 @@ pipe = QwenImageEditPlusPipeline.from_pretrained(
112
  pipe.load_lora_weights("Daverrrr75/QWEN_MCNL",
113
  weight_name="qwen_MCNL_v1.0.safetensors",
114
  adapter_name="anime")
115
- pipe.load_lora_weights("dx8152/Qwen-Edit-2509-Multiple-angles",
116
- weight_name="镜头转换.safetensors",
117
  adapter_name="multiple-angles")
118
  pipe.load_lora_weights("dx8152/Qwen-Image-Edit-2509-Light_restoration",
119
  weight_name="移除光影.safetensors",
@@ -130,8 +130,8 @@ pipe.load_lora_weights("tlennon-ie/qwen-edit-skin",
130
  pipe.load_lora_weights("lovis93/next-scene-qwen-image-lora-2509",
131
  weight_name="next-scene_lora-v2-3000.safetensors",
132
  adapter_name="next-scene")
133
- pipe.load_lora_weights("vafipas663/Qwen-Edit-2509-Upscale-LoRA",
134
- weight_name="qwen-edit-enhance_64-v3_000001000.safetensors",
135
  adapter_name="upscale-image")
136
 
137
 
@@ -174,7 +174,7 @@ def infer(
174
  raise gr.Error("Please upload an image to edit.")
175
 
176
  if lora_adapter == "Photo-to-Anime":
177
- pipe.set_adapters(["anime"], adapter_weights=[1.1])
178
  elif lora_adapter == "Multiple-Angles":
179
  pipe.set_adapters(["multiple-angles"], adapter_weights=[1.0])
180
  elif lora_adapter == "Light-Restoration":
 
112
  pipe.load_lora_weights("Daverrrr75/QWEN_MCNL",
113
  weight_name="qwen_MCNL_v1.0.safetensors",
114
  adapter_name="anime")
115
+ pipe.load_lora_weights("Phr00t/Qwen-Image-Edit-Rapid-AIO",
116
+ weight_name="v11/Qwen-Rapid-AIO-NSFW-v11.1.safetensors",
117
  adapter_name="multiple-angles")
118
  pipe.load_lora_weights("dx8152/Qwen-Image-Edit-2509-Light_restoration",
119
  weight_name="移除光影.safetensors",
 
130
  pipe.load_lora_weights("lovis93/next-scene-qwen-image-lora-2509",
131
  weight_name="next-scene_lora-v2-3000.safetensors",
132
  adapter_name="next-scene")
133
+ pipe.load_lora_weights("linoyts/QwenImageRealistic-LoRA",
134
+ weight_name="RealisticHFStage2_r64.safetensors",
135
  adapter_name="upscale-image")
136
 
137
 
 
174
  raise gr.Error("Please upload an image to edit.")
175
 
176
  if lora_adapter == "Photo-to-Anime":
177
+ pipe.set_adapters(["anime"], adapter_weights=[1.0])
178
  elif lora_adapter == "Multiple-Angles":
179
  pipe.set_adapters(["multiple-angles"], adapter_weights=[1.0])
180
  elif lora_adapter == "Light-Restoration":