From 656c6a5f4d0554986435f6578c42ff74b5acd960 Mon Sep 17 00:00:00 2001 From: AUTOMATIC1111 <16777216c@gmail.com> Date: Sun, 3 Dec 2023 16:56:47 +0300 Subject: [PATCH] make extra networks work again --- modules/ui_extra_networks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py index c40a578f9..2553ec2e9 100644 --- a/modules/ui_extra_networks.py +++ b/modules/ui_extra_networks.py @@ -426,7 +426,7 @@ def create_ui(interface: gr.Blocks, unrelated_tabs, tabname): 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) return ui