make extra networks work again

This commit is contained in:
AUTOMATIC1111 2023-12-03 16:56:47 +03:00
parent 8b2c562fb1
commit 656c6a5f4d

View File

@ -426,7 +426,7 @@ def create_ui(interface: gr.Blocks, unrelated_tabs, tabname):
return ui.pages_contents return ui.pages_contents
interface.load(fn=pages_html, inputs=[], outputs=[*ui.pages]) interface.load(fn=pages_html, inputs=[], outputs=[*ui.pages]).then(fn=None, js='function(){applyExtraNetworkFilter(' + quote_js(tabname) + '); return []}')
button_refresh.click(fn=refresh, inputs=[], outputs=ui.pages) button_refresh.click(fn=refresh, inputs=[], outputs=ui.pages)
return ui return ui