prithivMLmods commited on
Commit
6d57732
·
verified ·
1 Parent(s): 83ca8a5

update app

Browse files
Files changed (1) hide show
  1. app.py +11 -5
app.py CHANGED
@@ -121,10 +121,10 @@ ADAPTER_SPECS = {
121
  "weights": "Qwen-Image-Edit-2509-Photo-to-Anime_000001000.safetensors",
122
  "adapter_name": "photo-to-anime"
123
  },
124
- "Any-Pose": {
125
- "repo": "lilylilith/AnyPose",
126
- "weights": "2511-AnyPose-helper-00006000.safetensors",
127
- "adapter_name": "any-pose"
128
  },
129
  "Light-Migration": {
130
  "repo": "dx8152/Qwen-Edit-2509-Light-Migration",
@@ -146,6 +146,11 @@ ADAPTER_SPECS = {
146
  "weights": "tone001.safetensors",
147
  "adapter_name": "manga-tone"
148
  },
 
 
 
 
 
149
  }
150
 
151
  LOADED_ADAPTERS = set()
@@ -335,8 +340,9 @@ with gr.Blocks() as demo:
335
  [["examples/U.jpg"], "Upscale this picture to 4K resolution.", "Upscaler"],
336
  [["examples/MT.jpg"], "Paint with manga tone.", "Manga-Tone"],
337
  [["examples/ST1.jpg", "examples/ST2.jpg"], "Convert Image 1 to the style of Image 2.", "Style-Transfer"],
 
338
  [["examples/L1.jpg", "examples/L2.jpg"], "Refer to the color tone, remove the original lighting from Image 1, and relight Image 1 based on the lighting and color tone of Image 2.", "Light-Migration"],
339
- [["examples/P1.jpg", "examples/P2.jpg"], "Make the person in image 1 do the exact same pose of the person in image 2. Changing the style and background of the image of the person in image 1 is undesirable, so don't do it.", "Any-Pose"],
340
  ],
341
  inputs=[images, prompt, lora_adapter],
342
  outputs=[output_image, seed],
 
121
  "weights": "Qwen-Image-Edit-2509-Photo-to-Anime_000001000.safetensors",
122
  "adapter_name": "photo-to-anime"
123
  },
124
+ "Anime-V2": {
125
+ "repo": "prithivMLmods/Qwen-Image-Edit-2511-Anime",
126
+ "weights": "Qwen-Image-Edit-2511-Anime-2000.safetensors",
127
+ "adapter_name": "anime-v2"
128
  },
129
  "Light-Migration": {
130
  "repo": "dx8152/Qwen-Edit-2509-Light-Migration",
 
146
  "weights": "tone001.safetensors",
147
  "adapter_name": "manga-tone"
148
  },
149
+ "Anything2Real": {
150
+ "repo": "lrzjason/Anything2Real_2601",
151
+ "weights": "anything2real_2601_A_final.safetensors",
152
+ "adapter_name": "anything2real"
153
+ },
154
  }
155
 
156
  LOADED_ADAPTERS = set()
 
340
  [["examples/U.jpg"], "Upscale this picture to 4K resolution.", "Upscaler"],
341
  [["examples/MT.jpg"], "Paint with manga tone.", "Manga-Tone"],
342
  [["examples/ST1.jpg", "examples/ST2.jpg"], "Convert Image 1 to the style of Image 2.", "Style-Transfer"],
343
+ [["examples/R1.jpg"], "Change the picture to realistic photograph.", "Anything2Real"],
344
  [["examples/L1.jpg", "examples/L2.jpg"], "Refer to the color tone, remove the original lighting from Image 1, and relight Image 1 based on the lighting and color tone of Image 2.", "Light-Migration"],
345
+ [["examples/P1.jpg"], "Transform into anime (while preserving the background and remaining elements maintaining realism and original details.)", "Anime-V2"],
346
  ],
347
  inputs=[images, prompt, lora_adapter],
348
  outputs=[output_image, seed],