Linoy Tsaban commited on
Commit
ae89a1f
1 Parent(s): add968e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -285,7 +285,7 @@ with gr.Blocks(css='style.css') as demo:
285
  inputs = [seed, randomize_seed],
286
  outputs = [seed],
287
  queue=False
288
- ).then(
289
  fn=invert_and_reconstruct,
290
  inputs=[input_image,
291
  do_inversion,
 
285
  inputs = [seed, randomize_seed],
286
  outputs = [seed],
287
  queue=False
288
+ ).success(
289
  fn=invert_and_reconstruct,
290
  inputs=[input_image,
291
  do_inversion,