prithivMLmods commited on
Commit
1e0d2a3
·
verified ·
1 Parent(s): 88f8dee

update app

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -153,7 +153,13 @@ ADAPTER_SPECS = {
153
  "weights": "参考色调.safetensors",
154
  "adapter_name": "light-migration",
155
  "default_prompt": "Relight Image 1 based on the lighting and color tone of Image 2."
156
- }
 
 
 
 
 
 
157
  }
158
 
159
  LOADED_ADAPTERS = set()
@@ -332,9 +338,9 @@ with gr.Blocks() as demo:
332
  ["examples/F3.jpg", "examples/F4.jpg", "Replace her glasses with the new glasses from image 1.", "Super-Fusion"],
333
  ["examples/Chair.jpg", "examples/Material.jpg", "Change materials of image1 to match the reference in image2.", "Material-Transfer"],
334
  ["examples/F1.jpg", "examples/F2.jpg", "Put the small bottle on the table.", "Super-Fusion"],
 
335
  ["examples/Mug1.jpg", "examples/Texture1.jpg", "Apply the design from image 2 to the mug.", "Texture Edit"],
336
  ["examples/Cat1.jpg", "examples/Glass1.webp", "A cat wearing glasses in image 2.", "Fuse-Objects"],
337
-
338
  ],
339
  inputs=[image_1, image_2, prompt, lora_adapter],
340
  outputs=[output_image, seed],
 
153
  "weights": "参考色调.safetensors",
154
  "adapter_name": "light-migration",
155
  "default_prompt": "Relight Image 1 based on the lighting and color tone of Image 2."
156
+ },
157
+ "Cosplay-Make": {
158
+ "repo": "valiantcat/Qwen-Image-Edit-Cosplay",
159
+ "weights": "QwenEdit2509_cosplay_000009500.safetensors",
160
+ "adapter_name": "edit-cosplay",
161
+ "default_prompt": "Transfer the hairstyle, clothing, and costume accessories of the anime character in Image 2 to the real person in Image 1, while keeping the real person in Image 1 highly consistent in facial identity."
162
+ },
163
  }
164
 
165
  LOADED_ADAPTERS = set()
 
338
  ["examples/F3.jpg", "examples/F4.jpg", "Replace her glasses with the new glasses from image 1.", "Super-Fusion"],
339
  ["examples/Chair.jpg", "examples/Material.jpg", "Change materials of image1 to match the reference in image2.", "Material-Transfer"],
340
  ["examples/F1.jpg", "examples/F2.jpg", "Put the small bottle on the table.", "Super-Fusion"],
341
+ ["examples/CP1.jpeg", "examples/CP2.jpg", "Transfer the hairstyle, clothing, and costume accessories of the anime character in Image 2 to the real person in Image 1, while keeping the real person in Image 1 highly consistent in facial identity.", "Cosplay-Make"],
342
  ["examples/Mug1.jpg", "examples/Texture1.jpg", "Apply the design from image 2 to the mug.", "Texture Edit"],
343
  ["examples/Cat1.jpg", "examples/Glass1.webp", "A cat wearing glasses in image 2.", "Fuse-Objects"],
 
344
  ],
345
  inputs=[image_1, image_2, prompt, lora_adapter],
346
  outputs=[output_image, seed],