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

UploadButton cannot be made non-interactive #4364

Closed
1 task done
freddyaboulton opened this issue May 30, 2023 · 1 comment · Fixed by #4436
Closed
1 task done

UploadButton cannot be made non-interactive #4364

freddyaboulton opened this issue May 30, 2023 · 1 comment · Fixed by #4436
Assignees
Labels
bug Something isn't working
Milestone

Comments

@freddyaboulton
Copy link
Collaborator

Describe the bug

The UploadButton can be made non-interactive but I can imagine a use case where this is desired: While a function is running prevent the user from uploading another file.

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

gr.UploadButton(interactive=False) will still let you upload a file

Screenshot

No response

Logs

-

System Info

Latest main

Severity

annoying

@freddyaboulton freddyaboulton added the bug Something isn't working label May 30, 2023
@freddyaboulton freddyaboulton added this to the 3.x milestone May 30, 2023
@pngwn pngwn self-assigned this May 30, 2023
@abidlabs abidlabs assigned abidlabs and unassigned pngwn Jun 6, 2023
@abidlabs
Copy link
Member

abidlabs commented Jun 6, 2023

As discussed via Slack DM, I'd like to give this a shot @pngwn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants