multimodalart HF staff commited on
Commit
2d1394a
1 Parent(s): 18fa4a9

Swap examples order

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -290,9 +290,9 @@ def get_example():
290
  return case
291
 
292
  def swap_visibilities(input_image,
293
- tar_prompt,
294
  edit_concept_1,
295
  edit_concept_2,
 
296
  sega_edited_image,
297
  guidnace_scale_1,
298
  guidnace_scale_2,
@@ -825,11 +825,10 @@ with gr.Blocks(css="style.css") as demo:
825
  fn=swap_visibilities,
826
  run_on_click=True,
827
  examples=get_example(),
828
- inputs=[input_image,
829
- # src_prompt,
830
- tar_prompt,
831
  edit_concept_1,
832
  edit_concept_2,
 
833
  sega_edited_image,
834
  guidnace_scale_1,
835
  guidnace_scale_2,
 
290
  return case
291
 
292
  def swap_visibilities(input_image,
 
293
  edit_concept_1,
294
  edit_concept_2,
295
+ tar_prompt,
296
  sega_edited_image,
297
  guidnace_scale_1,
298
  guidnace_scale_2,
 
825
  fn=swap_visibilities,
826
  run_on_click=True,
827
  examples=get_example(),
828
+ inputs=[input_image,
 
 
829
  edit_concept_1,
830
  edit_concept_2,
831
+ tar_prompt,
832
  sega_edited_image,
833
  guidnace_scale_1,
834
  guidnace_scale_2,