text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

Fix TypeError in browser console

Open DavG25 opened this issue 1 year ago • 0 comments

This should fix Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach') appearing in the browser console when the interface loads

1

When JS is loaded using Blocks, it seems that Gradio expects an output, so in this case we create a dummy and hidden label as the output

DavG25 avatar Apr 17 '23 01:04 DavG25