gradio-node-fix

1.0.0 • Public • Published

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).

Package Sidebar

Install

npm i gradio-node-fix

Weekly Downloads

10

Version

1.0.0

License

MIT

Unpacked Size

18 kB

Total Files

4

Last publish

Collaborators

  • arilotter