aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorpapuSpartan <mcgpapu@gmail.com>2022-10-20 00:06:14 +0000
committerpapuSpartan <mcgpapu@gmail.com>2022-10-20 00:06:14 +0000
commit8b74b9aa9a20e4c5c1f72641f8b9617479eb276b (patch)
treee99ff13829b12167f5409dfaebe44b7393c07752 /modules
parent604620a7f08d1126a8689f9f4bec8ade0801a69b (diff)
downloadstable-diffusion-webui-gfx803-8b74b9aa9a20e4c5c1f72641f8b9617479eb276b.tar.gz
stable-diffusion-webui-gfx803-8b74b9aa9a20e4c5c1f72641f8b9617479eb276b.tar.bz2
stable-diffusion-webui-gfx803-8b74b9aa9a20e4c5c1f72641f8b9617479eb276b.zip
add symbol for clear button and simplify roll_col css selector
Diffstat (limited to 'modules')
-rw-r--r--modules/ui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ui.py b/modules/ui.py
index a2dbd41e..9f6edc5f 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -83,6 +83,7 @@ folder_symbol = '\U0001f4c2' # 📂
refresh_symbol = '\U0001f504' # 🔄
save_style_symbol = '\U0001f4be' # 💾
apply_style_symbol = '\U0001f4cb' # 📋
+trash_prompt_symbol = '\U0001F5D1' # 🗑🗑🗑
def plaintext_to_html(text):
@@ -498,6 +499,7 @@ def create_toprow(is_img2img):
paste = gr.Button(value=paste_symbol, elem_id="paste")
save_style = gr.Button(value=save_style_symbol, elem_id="style_create")
prompt_style_apply = gr.Button(value=apply_style_symbol, elem_id="style_apply")
+ trash_prompt = gr.Button(value=trash_prompt_symbol, elem_id="trash_prompt")
token_counter = gr.HTML(value="<span></span>", elem_id=f"{id_part}_token_counter")
token_button = gr.Button(visible=False, elem_id=f"{id_part}_token_button")