text-generation-webui
text-generation-webui copied to clipboard
Fix TypeError in browser console
This should fix Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
appearing in the browser console when the interface loads
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