pooyanrg commited on
Commit
41bc599
·
1 Parent(s): 7fff464
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -316,14 +316,14 @@ with gr.Blocks() as demo:
316
  fn=None,
317
  inputs=[image_bef],
318
  outputs=[],
319
- _js="(image_bef) => { initializeEditorBefore(); importBackgroundBefore(image); return []; }",
320
  )
321
 
322
  image_aft.change(
323
  fn=None,
324
  inputs=[image_aft],
325
  outputs=[],
326
- _js="(image_aft) => { initializeEditorAfter(); importBackgroundAfter(image); return []; }",
327
  )
328
 
329
 
 
316
  fn=None,
317
  inputs=[image_bef],
318
  outputs=[],
319
+ _js="(image_bef) => { initializeEditorBefore(); importBackgroundBefore(image_bef); return []; }",
320
  )
321
 
322
  image_aft.change(
323
  fn=None,
324
  inputs=[image_aft],
325
  outputs=[],
326
+ _js="(image_aft) => { initializeEditorAfter(); importBackgroundAfter(image_aft); return []; }",
327
  )
328
 
329