mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-20 21:30:09 +08:00
linter
This commit is contained in:
parent
9dd3b2a10b
commit
cf08f5b4d2
@ -11,11 +11,13 @@ import subprocess as sp
|
|||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
from modules import call_queue, shared
|
from modules import call_queue, shared
|
||||||
from modules.infotext_utils import image_from_url_text
|
|
||||||
import modules.images
|
import modules.images
|
||||||
from modules.ui_components import ToolButton
|
from modules.ui_components import ToolButton
|
||||||
import modules.infotext_utils as parameters_copypaste
|
import modules.infotext_utils as parameters_copypaste
|
||||||
|
|
||||||
|
|
||||||
|
image_from_url_text = parameters_copypaste.image_from_url_text
|
||||||
|
|
||||||
folder_symbol = '\U0001f4c2' # 📂
|
folder_symbol = '\U0001f4c2' # 📂
|
||||||
refresh_symbol = '\U0001f504' # 🔄
|
refresh_symbol = '\U0001f504' # 🔄
|
||||||
|
|
||||||
|
@ -662,7 +662,7 @@ def create_ui(interface: gr.Blocks, unrelated_tabs, tabname):
|
|||||||
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)
|
||||||
|
|
||||||
related_tabs.append(tab)
|
related_tabs.append(tab)
|
||||||
|
|
||||||
ui.button_save_preview = gr.Button('Save preview', elem_id=f"{tabname}_save_preview", visible=False)
|
ui.button_save_preview = gr.Button('Save preview', elem_id=f"{tabname}_save_preview", visible=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user