-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow drag and replace image in
gr.Image
and Multimodal textbox (#9031
) * allow dragging image over current image value in imageeditor * add changeset * add drag to image * add changeset * type fixes * tweak * tweak * add test * add changeset * revert image editor changes (i.e. give up) * add changeset * add changeset * tweak * Ensure drag and drop functionality works in Multimodal textbox (#9125) * allow uploading files via drag * wrap tweak * * fix input * improve a11y * fix thumbnail scrolling * tweak * add changeset * add changeset --------- Co-authored-by: pngwn <[email protected]> Co-authored-by: gradio-pr-bot <[email protected]> Co-authored-by: Abubakar Abid <[email protected]>
- Loading branch information
1 parent
de1f7a2
commit 04b7d32
Showing
8 changed files
with
243 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@gradio/image": patch | ||
"@gradio/multimodaltextbox": patch | ||
"@gradio/upload": patch | ||
"gradio": patch | ||
--- | ||
|
||
feat:Allow drag and replace image in `gr.Image` and Multimodal textbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.