remove the code that breaks extra networks

This commit is contained in:
AUTOMATIC1111 2023-12-03 16:49:33 +03:00
parent 051375258c
commit 8b2c562fb1

View File

@ -382,8 +382,6 @@ def create_ui(interface: gr.Blocks, unrelated_tabs, tabname):
page_elem = gr.HTML('Loading...', elem_id=elem_id) page_elem = gr.HTML('Loading...', elem_id=elem_id)
ui.pages.append(page_elem) 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 = page.create_user_metadata_editor(ui, tabname)
editor.create_ui() editor.create_ui()
ui.user_metadata_editors.append(editor) ui.user_metadata_editors.append(editor)