update icons/hints

This commit is contained in:
Vladimir Mandic
2024-01-20 13:51:19 -05:00
parent 2c0b3ac4b3
commit b2d38ae920
4 changed files with 9 additions and 4 deletions
+3
View File
@@ -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"}
],
+3 -2
View File
@@ -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():
+2 -1
View File
@@ -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