1.0.0 • Published 1 year ago

gradio-node-fix v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

1.0.0

1 year ago