prithivMLmods commited on
Commit
eb58b0d
·
verified ·
1 Parent(s): c5f2971

update aoo

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -219,11 +219,15 @@ with gr.Blocks(css=css, theme=qwen_theme) as demo:
219
 
220
  run_button = gr.Button("Run", variant="primary")
221
 
222
-
223
-
224
  with gr.Column():
225
  output_image = gr.Image(label="Output Image", interactive=False, format="png", height=290)
226
- #reuse_button = gr.Button("Reuse this image", visible=False)
 
 
 
 
 
 
227
 
228
  with gr.Accordion("⚙️ Advanced Settings", open=False):
229
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
@@ -247,8 +251,7 @@ with gr.Blocks(css=css, theme=qwen_theme) as demo:
247
  cache_examples=False,
248
  label="Examples"
249
  )
250
-
251
- # --- Event Handlers ---
252
  run_button.click(
253
  fn=infer,
254
  inputs=[input_image, prompt, lora_adapter, seed, randomize_seed, guidance_scale, steps, width, height],
 
219
 
220
  run_button = gr.Button("Run", variant="primary")
221
 
 
 
222
  with gr.Column():
223
  output_image = gr.Image(label="Output Image", interactive=False, format="png", height=290)
224
+
225
+ with gr.Row():
226
+ lora_adapter = gr.Dropdown(
227
+ label="Choose Editing Style",
228
+ choices=["Photo-to-Anime", "Multiple-Angles", "Light-Restoration", "Relight"],
229
+ value="Photo-to-Anime"
230
+ )
231
 
232
  with gr.Accordion("⚙️ Advanced Settings", open=False):
233
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
 
251
  cache_examples=False,
252
  label="Examples"
253
  )
254
+
 
255
  run_button.click(
256
  fn=infer,
257
  inputs=[input_image, prompt, lora_adapter, seed, randomize_seed, guidance_scale, steps, width, height],