Spaces:
Running on Zero
Running on Zero
Light Migration
Browse files200 unmodified lines20120220320420520620764 unmodified lines272273274275276277278200 unmodified linesgr.Markdown("## 💡 Qwen Image Edit — Light Migration")gr.Markdown("""Transfer lighting and color tones from a reference image to your source image ✨Using [dx8152's Qwen-Edit-2509-Light-Migration LoRA](https://huggingface.co/dx8152/Qwen-Edit-2509-Light-Migration)and [Phr00t/Qwen-Image-Edit-Rapid-AIO](https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO/tree/main) for 4-step inference 💨""")64 unmodified lineswith gr.Column():result = gr.Image(label="Output Image", interactive=False)output_seed = gr.Number(label="Seed Used", interactive=False)inputs = [image, light_source, prompt,seed, randomize_seed, true_guidance_scale,200 unmodified lines20120220320420520664 unmodified lines271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301200 unmodified linesgr.Markdown("## 💡 Qwen Image Edit — Light Migration")gr.Markdown("""Transfer lighting and color tones from a reference image to your source image ✨Using [dx8152's Qwen-Edit-2509-Light-Migration LoRA](https://huggingface.co/dx8152/Qwen-Edit-2509-Light-Migration)and [Phr00t/Qwen-Image-Edit-Rapid-AIO](https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO/tree/main) for 4-step inference 💨""")64 unmodified lineswith gr.Column():result = gr.Image(label="Output Image", interactive=False)output_seed = gr.Number(label="Seed Used", interactive=False)gr.Examples(examples=[# Character 1 with 3 different lights["character_1.png", "light_1.png"],["character_1.png", "light_3.jpeg"],["character_1.png", "light_5.png"],# Character 2 with 3 different lights["character_2.png", "light_2.png"],["character_2.png", "light_4.png"],["character_2.png", "light_6.png"],# Place 1 with 3 different lights["place_1.png", "light_1.png"],["place_1.png", "light_4.png"],["place_1.png", "light_6.png"],],inputs=[image, light_source],outputs=outputs,fn=infer_light_migration,cache_examples=True,cache_mode="lazy",elem_id="examples")inputs = [image, light_source, prompt,seed, randomize_seed, true_guidance_scale,
app.py+25-2