Skip to content

Conversation

@DavG25
Copy link
Owner

@DavG25 DavG25 commented May 8, 2024

Newer Gradio versions (>4.25.*) use SSE (server-sent events) instead of web sockets to exchange data between the UI and the server

The changes in this PR fix the issue of detecting the text generation status on newer Gradio version while keeping compatibility with older ones

Closes #11

@DavG25 DavG25 changed the title Add SSE interception for newer Gradio versions Fix detection of text generation status on newer Gradio versions May 8, 2024
@DavG25 DavG25 merged commit 3bdfede into master May 8, 2024
@DavG25 DavG25 deleted the bugfix-blinking-highlight branch June 4, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

highlighting of code snippets blink while text is generated

2 participants