From 8b2c562fb179935bb98508954642374ddbf894f9 Mon Sep 17 00:00:00 2001 From: AUTOMATIC1111 <16777216c@gmail.com> Date: Sun, 3 Dec 2023 16:49:33 +0300 Subject: [PATCH] remove the code that breaks extra networks --- modules/ui_extra_networks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py index aabc6e684..c40a578f9 100644 --- a/modules/ui_extra_networks.py +++ b/modules/ui_extra_networks.py @@ -382,8 +382,6 @@ def create_ui(interface: gr.Blocks, unrelated_tabs, tabname): page_elem = gr.HTML('Loading...', elem_id=elem_id) ui.pages.append(page_elem) - page_elem.change(fn=None, _js='function(){applyExtraNetworkFilter(' + quote_js(tabname) + '); return []}') - editor = page.create_user_metadata_editor(ui, tabname) editor.create_ui() ui.user_metadata_editors.append(editor)