This commit is contained in:
AUTOMATIC1111 2024-01-27 11:17:47 +03:00
parent 9dd3b2a10b
commit cf08f5b4d2
2 changed files with 4 additions and 2 deletions

View File

@ -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' # 🔄

View File

@ -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)