Hannah
|
d112e2611b
|
Allow interactive input in gr.HighlightedText (#5400)
* add preprocess param to highlighted_text.py
* add params
* static tweaks
* add interactive highlight container
* highlight selection logic
* allow editing label value and move shared funcs
* add changeset
* remove py code
* wait for input render
* remove redundant event listeners
* accessibility enhancements and remove label logic
* add keyboard navigation and interaction
* merge adjacent empty elements and split input element
* add interactive support for scores mode
* remove merge adjacent logic and move to frontend
* tweak
* add changeset
* format backend
* tweaks
* backend test tweaks
* set the interactive default to None
* BE tweak
* unit tests and stories
* be formatting
* fix label errors
* tweak
* fix tests
* fix tests
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
|
2023-09-12 18:47:16 -07:00 |
|