prithivMLmods commited on
Commit
2b4d52f
·
verified ·
1 Parent(s): c6fcd2a

update app

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -95,7 +95,6 @@ pipe = QwenImageEditPlusPipeline.from_pretrained(
95
  "Qwen/Qwen-Image-Edit-2511",
96
  transformer=QwenImageTransformer2DModel.from_pretrained(
97
  "prithivMLmods/Qwen-Image-Edit-Rapid-AIO-V19",
98
- #subfolder='transformer',
99
  torch_dtype=dtype,
100
  device_map='cuda'
101
  ),
@@ -176,6 +175,11 @@ ADAPTER_SPECS = {
176
  "weights": "HRP_20.safetensors",
177
  "adapter_name": "hyper-realistic-portrait"
178
  },
 
 
 
 
 
179
  }
180
 
181
  LOADED_ADAPTERS = set()
@@ -367,6 +371,7 @@ with gr.Blocks() as demo:
367
  [["examples/PP1.jpg"], "cinematic polaroid with soft grain subtle vignette gentle lighting white frame handwritten photographed by hf‪‪‬ preserving realistic texture and details", "Polaroid-Photo"],
368
  [["examples/Z1.jpg"], "Front-right quarter view.", "Fal-Multiple-Angles"],
369
  [["examples/MT.jpg"], "Paint with manga tone.", "Manga-Tone"],
 
370
  [["examples/MN.jpg"], "Transform into Midnight Noir Eyes Spotlight.", "Midnight-Noir-Eyes-Spotlight"],
371
  [["examples/ST1.jpg", "examples/ST2.jpg"], "Convert Image 1 to the style of Image 2.", "Style-Transfer"],
372
  [["examples/R1.jpg"], "Change the picture to realistic photograph.", "Anything2Real"],
 
95
  "Qwen/Qwen-Image-Edit-2511",
96
  transformer=QwenImageTransformer2DModel.from_pretrained(
97
  "prithivMLmods/Qwen-Image-Edit-Rapid-AIO-V19",
 
98
  torch_dtype=dtype,
99
  device_map='cuda'
100
  ),
 
175
  "weights": "HRP_20.safetensors",
176
  "adapter_name": "hyper-realistic-portrait"
177
  },
178
+ "Ultra-Realistic-Portrait": {
179
+ "repo": "prithivMLmods/Qwen-Image-Edit-2511-Ultra-Realistic-Portrait",
180
+ "weights": "URP_20.safetensors",
181
+ "adapter_name": "ultra-realistic-portrait"
182
+ },
183
  }
184
 
185
  LOADED_ADAPTERS = set()
 
371
  [["examples/PP1.jpg"], "cinematic polaroid with soft grain subtle vignette gentle lighting white frame handwritten photographed by hf‪‪‬ preserving realistic texture and details", "Polaroid-Photo"],
372
  [["examples/Z1.jpg"], "Front-right quarter view.", "Fal-Multiple-Angles"],
373
  [["examples/MT.jpg"], "Paint with manga tone.", "Manga-Tone"],
374
+ [["examples/URP.jpg"], "ultra-realistic portrait.", "Ultra-Realistic-Portrait"],
375
  [["examples/MN.jpg"], "Transform into Midnight Noir Eyes Spotlight.", "Midnight-Noir-Eyes-Spotlight"],
376
  [["examples/ST1.jpg", "examples/ST2.jpg"], "Convert Image 1 to the style of Image 2.", "Style-Transfer"],
377
  [["examples/R1.jpg"], "Change the picture to realistic photograph.", "Anything2Real"],