prithivMLmods commited on
Commit
e636e92
·
verified ·
1 Parent(s): 9463eac

update app

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -136,6 +136,11 @@ ADAPTER_SPECS = {
136
  "weights": "qwen_image_edit_2511_upscale.safetensors",
137
  "adapter_name": "upscale-2k"
138
  },
 
 
 
 
 
139
  }
140
 
141
  LOADED_ADAPTERS = set()
@@ -323,6 +328,7 @@ with gr.Blocks() as demo:
323
  [["examples/B.jpg"], "Transform into anime.", "Photo-to-Anime"],
324
  [["examples/A.jpeg"], "Rotate the camera 45 degrees to the right.", "Multiple-Angles"],
325
  [["examples/U.jpg"], "Upscale this picture to 4K resolution.", "Upscaler"],
 
326
  [["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"],
327
  [["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"],
328
  ],
 
136
  "weights": "qwen_image_edit_2511_upscale.safetensors",
137
  "adapter_name": "upscale-2k"
138
  },
139
+ "Style-Transfer": {
140
+ "repo": "zooeyy/Style-Transfer",
141
+ "weights": "Style Transfer-Alpha-V0.1.safetensors",
142
+ "adapter_name": "style-transfer"
143
+ },
144
  }
145
 
146
  LOADED_ADAPTERS = set()
 
328
  [["examples/B.jpg"], "Transform into anime.", "Photo-to-Anime"],
329
  [["examples/A.jpeg"], "Rotate the camera 45 degrees to the right.", "Multiple-Angles"],
330
  [["examples/U.jpg"], "Upscale this picture to 4K resolution.", "Upscaler"],
331
+ [["examples/ST1.jpg", "examples/ST2.jpg"], "Convert Image 1 to the style of Image 2.", "Style-Transfer"],
332
  [["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"],
333
  [["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"],
334
  ],