-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add a File.download()
event
#8772
Comments
This was a bug sadly, so we cannot bring that behaviour back. Would an additional download event work? |
Thanks pngwn for your answer. The select event was not a bug according to me, since it was useful. (The bug was that deleting a file led to a select event, but not for the first file, so it was not consistent and not very understandable, which you corrected in creating the new delete event) But yes, a download event or a select event would work, either one :) thanks for you help! |
Actually ignore what I said. The select event should indeed fire. Will see what we can do! |
Hello @pngwn how are you? Have you any news about this issue? Thanks a lot ! |
File.download()
event
Closed via #9887 |
Describe the bug
Thanks for the great job on gradio. The new Chatbot experience of 4.38 seems great.
However I can't upgrade (I'm still on gradio 4.29) since File.select doesn't work anymore.
I believe the bug was introduced in gradio 4.34 when you introduces file.delete in "add delete event to File component #8417".
When you click on a file to download it, it shoud launch a select event as it did before.
It is sometimes crucial to know in the back end what file the user tries to download.
Have you searched existing issues? 🔎
Reproduction
Screenshot
in gradio 4.38.1 (not working)
in gradio 4.29.0 (working)
Logs
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: