Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] TypeError: Clickable.click() got an unexpected keyword argument 'cancels' #84

Open
AlexCppns opened this issue Oct 21, 2022 · 3 comments

Comments

@AlexCppns
Copy link

AlexCppns commented Oct 21, 2022

Describe the bug
I cannot run the script after successful installation...

To Reproduce
Steps to reproduce the behavior:

  1. use python app.py in git bash in windows 10
  2. See error
    cancel_button.click(fn=None, inputs=None, outputs=None, cancels=[proceed_event])
    TypeError: Clickable.click() got an unexpected keyword argument 'cancels'
@AlexCppns AlexCppns changed the title [Bug] [Bug] TypeError: Clickable.click() got an unexpected keyword argument 'cancels' Oct 21, 2022
@innokean
Copy link

Getting the same error. Added yesterday in this commit
d31c7e4
Certainly not compatible with the recommended version of gradio.
Remove the cancels arg

@innokean
Copy link

The latest Gradio has the cancels arg. Version 3.4 is not sufficient. Upgrade to 3.6 fixes the issue.
The requirements file has the correct version but the docs need updating.

@lkwq007
Copy link
Owner

lkwq007 commented Oct 22, 2022

The latest Gradio has the cancels arg. Version 3.4 is not sufficient. Upgrade to 3.6 fixes the issue. The requirements file has the correct version but the docs need updating.

Thanks. I forget to update the setup guide.
Just updated the docs and added fallback for gradio<3.6.

@lkwq007 lkwq007 pinned this issue Oct 22, 2022
@lkwq007 lkwq007 unpinned this issue Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants