1.0.0 • Published 2 years ago
gradio-node-fix v1.0.0
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
2 years ago