gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
30.73k stars 2.29k forks source link

Add file deletion event to gr.File component #8361

Closed pngwn closed 1 month ago

pngwn commented 1 month ago

Related to #8354

Implements a new event for file deletion in gr.File components and updates event handling to support this feature.


For more details, open the Copilot Workspace session.

gradio-pr-bot commented 1 month ago

🪼 branch checks and previews

• Name Status URL
Spaces ready! Spaces preview
Website ready! Website preview
:unicorn: Changes detecting...

Install Gradio from this PR

pip install https://gradio-builds.s3.amazonaws.com/33460817b5de035f79f4d205b7ab4dd6f1bb2cff/gradio-4.31.5-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@33460817b5de035f79f4d205b7ab4dd6f1bb2cff#subdirectory=client/python"
gradio-pr-bot commented 1 month ago

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
gradio minor

With the following changelog entry.

Add file deletion event to gr.File component

Maintainers or the PR author can modify the PR title to modify this entry.

#### Something isn't right? - Maintainers can change the version label to modify the version bump. - If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can [update the changelog file directly](https://github.com/gradio-app/gradio/edit/pngwn/file-delete-event/.changeset/red-beers-move.md).
pngwn commented 1 month ago

So long.