diff --git a/modules/ui_common.py b/modules/ui_common.py index 893b3fa8d..94f2145cf 100644 --- a/modules/ui_common.py +++ b/modules/ui_common.py @@ -11,11 +11,13 @@ import subprocess as sp from PIL import Image from modules import call_queue, shared -from modules.infotext_utils import image_from_url_text import modules.images from modules.ui_components import ToolButton import modules.infotext_utils as parameters_copypaste + +image_from_url_text = parameters_copypaste.image_from_url_text + folder_symbol = '\U0001f4c2' # 📂 refresh_symbol = '\U0001f504' # 🔄 diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py index df1a39166..59dd6f570 100644 --- a/modules/ui_extra_networks.py +++ b/modules/ui_extra_networks.py @@ -662,7 +662,7 @@ def create_ui(interface: gr.Blocks, unrelated_tabs, tabname): editor = page.create_user_metadata_editor(ui, tabname) editor.create_ui() ui.user_metadata_editors.append(editor) - + related_tabs.append(tab) ui.button_save_preview = gr.Button('Save preview', elem_id=f"{tabname}_save_preview", visible=False)