gradio-node-fix
v1.0.0
Published
Runtime fixes for @gradio/client to work under node.js & other non-browser JS runtimes
Downloads
3
Maintainers
Readme
gradio-node-fix
Fixes runtime errors when using @gradio/client
outside of a browser.
Includes a slightly modified version of the eventsource
polyfill, and sets a couple props on window
.
To use it, simply import "gradio-node-fix"
at the top of your JS entrypoint (index.ts, index.js, etc).