prithivMLmods commited on
Commit
fe893d4
·
verified ·
1 Parent(s): 6798543

update app

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -130,6 +130,11 @@ ADAPTER_SPECS = {
130
  "weights": "Qwen-Image-Edit-2509-Photo-to-Anime_000001000.safetensors",
131
  "adapter_name": "photo-to-anime"
132
  },
 
 
 
 
 
133
  }
134
 
135
  LOADED_ADAPTERS = set()
@@ -337,7 +342,7 @@ with gr.Blocks() as demo:
337
  with gr.Column():
338
  rerun_output = Rerun(
339
  label="Rerun Visualization",
340
- height=353
341
  )
342
 
343
  with gr.Row():
@@ -356,6 +361,7 @@ with gr.Blocks() as demo:
356
  gr.Examples(
357
  examples=[
358
  [["examples/B.jpg"], "Transform into anime.", "Photo-to-Anime"],
 
359
  [["examples/A.jpeg"], "Rotate the camera 45 degrees to the right.", "Multiple-Angles"],
360
  ],
361
  inputs=[images, prompt, lora_adapter],
 
130
  "weights": "Qwen-Image-Edit-2509-Photo-to-Anime_000001000.safetensors",
131
  "adapter_name": "photo-to-anime"
132
  },
133
+ "Any-Pose": {
134
+ "repo": "lilylilith/AnyPose",
135
+ "weights": "2511-AnyPose-base-000006250.safetensors",
136
+ "adapter_name": "any-pose"
137
+ },
138
  }
139
 
140
  LOADED_ADAPTERS = set()
 
342
  with gr.Column():
343
  rerun_output = Rerun(
344
  label="Rerun Visualization",
345
+ height=355
346
  )
347
 
348
  with gr.Row():
 
361
  gr.Examples(
362
  examples=[
363
  [["examples/B.jpg"], "Transform into anime.", "Photo-to-Anime"],
364
+ [["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. The new pose should be pixel accurate to the pose we are trying to copy. The position of the arms and head and legs should be the same as the pose we are trying to copy. Change the field of view and angle to match exactly image 2. Head tilt and eye gaze pose should match the person in image 2.", "Any-Pose"],
365
  [["examples/A.jpeg"], "Rotate the camera 45 degrees to the right.", "Multiple-Angles"],
366
  ],
367
  inputs=[images, prompt, lora_adapter],