AI Apps in a Flash with Gradio's Reload Mode
โข
23
Here is a demo of the API recorder โจ
Not with the format
parameter. That only applies if you return a numpy or PIL image from your prediction function. If you want to control how files are saved to jpeg, you can do that within your prediction function and gradio will not modify it further.
HighlightedTextbox
! ๐คpip install gradio_highlightedtextbox
and used seamlessly with other native components in Gradio interfaces. It supports texts with multiple tags and provides some reasonable UX behaviors (tags disappear when an edit is performed inside them). It should be great for UIs to study user editing of annotated LM generations/translations!gradio
4.16. New features include:python-dotenv
library. Getting to the bottom of this one took a lot of sleuthing by our users and the fix got merged and released into the python-dotenv
package last night! Thanks to
@theskumar
, maintainer of python-dotenv, for all the help. WebSocket.onmessage
function) with a lower priority than SSE events (EventSource.onmessage
function), which allowed the browser to repaint the window between WS messages. With SSE, the streaming updates would stack up in the browser's event stack and be prioritized over any browser repaint. The browser would eventually clear the stack but it would take some time to go through each update, which produced a lag.