mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
update icons/hints
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{"icons": [
|
||||
{"id":"","label":"🎲️","localized":"","hint":"Use random seed"},
|
||||
{"id":"","label":"♻️","localized":"","hint":"Reuse previous seed"},
|
||||
{"id":"","label":"🔄","localized":"","hint":"Reset values"},
|
||||
{"id":"","label":"⬆️","localized":"","hint":"Upload image"},
|
||||
{"id":"","label":"⇅","localized":"","hint":"Swap values"},
|
||||
{"id":"","label":"⇦","localized":"","hint":"Read parameters from last generated image"},
|
||||
{"id":"","label":"⊗","localized":"","hint":"Clear prompt"},
|
||||
@@ -18,6 +20,7 @@
|
||||
{"id":"","label":"☲","localized":"","hint":"Change view type"},
|
||||
{"id":"","label":"📐","localized":"","hint":"Measure"},
|
||||
{"id":"","label":"🔍","localized":"","hint":"Search"},
|
||||
{"id":"","label":"🖼️","localized":"","hint":"Show preview"},
|
||||
{"id":"","label":"✎","localized":"","hint":"Interrogate image using BLIP model"},
|
||||
{"id":"","label":"✐","localized":"","hint":"Interrogate image using DeepBooru model"}
|
||||
],
|
||||
|
||||
@@ -9,6 +9,7 @@ from modules.ui_components import ToolButton
|
||||
from modules.ui_common import create_refresh_button
|
||||
from modules.call_queue import wrap_gradio_gpu_call
|
||||
from modules.shared import opts, log, req, readfile, max_workers
|
||||
import modules.ui_symbols
|
||||
import modules.errors
|
||||
import modules.hashes
|
||||
from modules.merging import merge_methods
|
||||
@@ -384,7 +385,7 @@ def create_ui():
|
||||
gr.HTML('<h2>Search for models</h2>Select a model from the search results to download<br><br>')
|
||||
with gr.Row():
|
||||
hf_search_text = gr.Textbox('', label='Search models', placeholder='search huggingface models')
|
||||
hf_search_btn = ToolButton(value="🔍", label="Search")
|
||||
hf_search_btn = ToolButton(value=modules.ui_symbols.search, label="Search")
|
||||
with gr.Row():
|
||||
with gr.Column(scale=2):
|
||||
with gr.Row():
|
||||
@@ -585,7 +586,7 @@ def create_ui():
|
||||
with gr.Row():
|
||||
civit_search_text = gr.Textbox('', label='Search models', placeholder='keyword')
|
||||
civit_search_tag = gr.Textbox('', label='', placeholder='tags')
|
||||
civit_search_btn = ToolButton(value="🔍", label="Search", interactive=True)
|
||||
civit_search_btn = ToolButton(value=modules.ui_symbols.search, label="Search", interactive=True)
|
||||
with gr.Row():
|
||||
civit_search_res = gr.HTML('')
|
||||
with gr.Row():
|
||||
|
||||
@@ -20,7 +20,8 @@ reuse = '♻️'
|
||||
info = 'ℹ' # noqa
|
||||
reset = '🔄'
|
||||
upload = '⬆️'
|
||||
preview = '🔍'
|
||||
search = '🔍'
|
||||
preview = '🖼️'
|
||||
mark_diag = '※'
|
||||
mark_flag = '⁜'
|
||||
int_clip = '✎'
|
||||
|
||||
+1
-1
Submodule wiki updated: b2f3661314...203234e739
Reference in New Issue
Block a user