prithivMLmods commited on
Commit
45c7797
Β·
verified Β·
1 Parent(s): 7a6e6ed

update app

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -131,6 +131,11 @@ ADAPTER_SPECS = {
131
  "weights": "参考色调.safetensors",
132
  "adapter_name": "light-migration"
133
  },
 
 
 
 
 
134
  }
135
 
136
  LOADED_ADAPTERS = set()
@@ -317,6 +322,7 @@ with gr.Blocks() as demo:
317
  examples=[
318
  [["examples/B.jpg"], "Transform into anime.", "Photo-to-Anime"],
319
  [["examples/A.jpeg"], "Rotate the camera 45 degrees to the right.", "Multiple-Angles"],
 
320
  [["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"],
321
  [["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"],
322
  ],
@@ -327,7 +333,7 @@ with gr.Blocks() as demo:
327
  label="Examples"
328
  )
329
 
330
- gr.Markdown("Note: Some adapters (like Any-Pose and Light-Migration) require uploading multiple images to the gallery.")
331
 
332
  run_button.click(
333
  fn=infer,
 
131
  "weights": "参考色调.safetensors",
132
  "adapter_name": "light-migration"
133
  },
134
+ "Upscaler": {
135
+ "repo": "starsfriday/Qwen-Image-Edit-2511-Upscale2K",
136
+ "weights": "qwen_image_edit_2511_upscale.safetensors",
137
+ "adapter_name": "upscale-2k"
138
+ },
139
  }
140
 
141
  LOADED_ADAPTERS = set()
 
322
  examples=[
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
  ],
 
333
  label="Examples"
334
  )
335
 
336
+ gr.Markdown("[*](https://huggingface.co/spaces/prithivMLmods/Qwen-Image-Edit-2511-LoRAs-Fast)This is still an experimental Space for Qwen-Image-Edit-2511.")
337
 
338
  run_button.click(
339
  fn=infer,