amildravid4292 commited on
Commit
eebd16c
·
verified ·
1 Parent(s): 9f8dac9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -482,15 +482,15 @@ with gr.Blocks(css="style.css") as demo:
482
 
483
 
484
 
485
- invert_button.click(fn=run_inversion,
486
  inputs=[input_image, pcs, epochs, weight_decay,lr],
487
  outputs = [gallery, file_output])
488
 
489
 
490
- sample.click(fn=sample_then_run, outputs=[gallery, file_output])
491
 
492
 
493
- submit.click(
494
  fn=edit_inference, inputs=[prompt, negative_prompt, cfg, steps, seed, injection_step, a1, a2, a3, a4], outputs=[gallery]
495
  )
496
  file_input.change(fn=file_upload, inputs=file_input, outputs = input_image)
 
482
 
483
 
484
 
485
+ invert_button.click(fn=run_inversion,
486
  inputs=[input_image, pcs, epochs, weight_decay,lr],
487
  outputs = [gallery, file_output])
488
 
489
 
490
+ sample.click(fn=sample_then_run, outputs=[gallery, file_output])
491
 
492
 
493
+ submit.click(
494
  fn=edit_inference, inputs=[prompt, negative_prompt, cfg, steps, seed, injection_step, a1, a2, a3, a4], outputs=[gallery]
495
  )
496
  file_input.change(fn=file_upload, inputs=file_input, outputs = input_image)