Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
@@ -313,16 +313,16 @@ with gr.Blocks() as demo:
|
|
313 |
)
|
314 |
|
315 |
image_bef.change(
|
316 |
-
fn=
|
317 |
inputs=[image_bef],
|
318 |
-
outputs=[
|
319 |
_js="(image) => { initializeEditor(); importBackground(image); return []; }",
|
320 |
)
|
321 |
|
322 |
image_aft.change(
|
323 |
-
fn=
|
324 |
inputs=[image_aft],
|
325 |
-
outputs=[
|
326 |
_js="(image) => { initializeEditor(); importBackground(image); return []; }",
|
327 |
)
|
328 |
|
|
|
313 |
)
|
314 |
|
315 |
image_bef.change(
|
316 |
+
fn=None,
|
317 |
inputs=[image_bef],
|
318 |
+
outputs=[],
|
319 |
_js="(image) => { initializeEditor(); importBackground(image); return []; }",
|
320 |
)
|
321 |
|
322 |
image_aft.change(
|
323 |
+
fn=None,
|
324 |
inputs=[image_aft],
|
325 |
+
outputs=[],
|
326 |
_js="(image) => { initializeEditor(); importBackground(image); return []; }",
|
327 |
)
|
328 |
|