pooyanrg commited on
Commit
c27bfaf
·
1 Parent(s): ffbbba2
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -304,17 +304,17 @@ with gr.Blocks() as demo:
304
  )
305
 
306
  image_bef.change(
307
- fn=None,
308
- inputs=[image_bef],
309
- outputs=[],
310
- js="(image) => { initializeEditor(); importBackground(image); return []; }",
311
- )
312
 
313
  image_aft.change(
314
  fn=None,
315
  inputs=[image_aft],
316
  outputs=[],
317
- js="(image) => { initializeEditor(); importBackground(image); return []; }",
318
  )
319
 
320
 
 
304
  )
305
 
306
  image_bef.change(
307
+ fn=None,
308
+ inputs=[image_bef],
309
+ outputs=[],
310
+ _js="(image) => { initializeEditor(); importBackground(image); return []; }",
311
+ )
312
 
313
  image_aft.change(
314
  fn=None,
315
  inputs=[image_aft],
316
  outputs=[],
317
+ _js="(image) => { initializeEditor(); importBackground(image); return []; }",
318
  )
319
 
320