multimodalart HF Staff commited on
Commit
d759633
·
verified ·
1 Parent(s): c7d7c6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -10
app.py CHANGED
@@ -204,9 +204,6 @@ with gr.Blocks() as demo:
204
 
205
  Using [dx8152's Qwen-Edit-2509-Light-Migration LoRA](https://huggingface.co/dx8152/Qwen-Edit-2509-Light-Migration)
206
  and [Phr00t/Qwen-Image-Edit-Rapid-AIO](https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO/tree/main) for 4-step inference 💨
207
-
208
- **How it works:** Upload your source image (Image 1) and a reference image with the desired lighting/color tone (Image 2).
209
- The model will relight Image 1 using the lighting characteristics from Image 2.
210
  """)
211
 
212
  with gr.Row():
@@ -223,16 +220,15 @@ with gr.Blocks() as demo:
223
  elem_classes="image-container"
224
  )
225
 
226
- prompt = gr.Textbox(
227
- label="Prompt",
228
- value=DEFAULT_PROMPT,
229
- placeholder="Enter prompt for light migration...",
230
- lines=2
231
- )
232
-
233
  run_btn = gr.Button("✨ Transfer Lighting", variant="primary", size="lg")
234
 
235
  with gr.Accordion("Advanced Settings", open=False):
 
 
 
 
 
 
236
  seed = gr.Slider(
237
  label="Seed",
238
  minimum=0,
 
204
 
205
  Using [dx8152's Qwen-Edit-2509-Light-Migration LoRA](https://huggingface.co/dx8152/Qwen-Edit-2509-Light-Migration)
206
  and [Phr00t/Qwen-Image-Edit-Rapid-AIO](https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO/tree/main) for 4-step inference 💨
 
 
 
207
  """)
208
 
209
  with gr.Row():
 
220
  elem_classes="image-container"
221
  )
222
 
 
 
 
 
 
 
 
223
  run_btn = gr.Button("✨ Transfer Lighting", variant="primary", size="lg")
224
 
225
  with gr.Accordion("Advanced Settings", open=False):
226
+ prompt = gr.Textbox(
227
+ label="Prompt",
228
+ value=DEFAULT_PROMPT,
229
+ placeholder="Enter prompt for light migration...",
230
+ lines=2
231
+ )
232
  seed = gr.Slider(
233
  label="Seed",
234
  minimum=0,