Adityadn commited on
Commit
c8ac13e
·
verified ·
1 Parent(s): 6f91042

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +1 -1
webui.py CHANGED
@@ -686,7 +686,7 @@ shared.gradio_root.launch(
686
  auth=check_auth if (args_manager.args.share or args_manager.args.listen) and auth_enabled else None,
687
  allowed_paths=[modules.config.path_outputs],
688
  blocked_paths=[constants.AUTH_FILENAME],
689
- inputs=[currentTask.set(None)]
690
  )
691
 
692
  # Ketika tombol diklik, currentTask diaktifkan
 
686
  auth=check_auth if (args_manager.args.share or args_manager.args.listen) and auth_enabled else None,
687
  allowed_paths=[modules.config.path_outputs],
688
  blocked_paths=[constants.AUTH_FILENAME],
689
+ inputs=[lambda: currentTask.set(None)]
690
  )
691
 
692
  # Ketika tombol diklik, currentTask diaktifkan