aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui_extensions.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-03-21 05:49:08 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-03-25 06:00:37 +0000
commitaf2db25c84c9a226ab34959e868fc18740418b4b (patch)
treeb8d0136e2227a409813fe67d8d33220858445fe6 /modules/ui_extensions.py
parent43a0912a07376fd045095de0fea54de098b113ef (diff)
downloadstable-diffusion-webui-gfx803-af2db25c84c9a226ab34959e868fc18740418b4b.tar.gz
stable-diffusion-webui-gfx803-af2db25c84c9a226ab34959e868fc18740418b4b.tar.bz2
stable-diffusion-webui-gfx803-af2db25c84c9a226ab34959e868fc18740418b4b.zip
enable queue by default
more stylistic changes
Diffstat (limited to 'modules/ui_extensions.py')
-rw-r--r--modules/ui_extensions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_extensions.py b/modules/ui_extensions.py
index df75a925..50173e68 100644
--- a/modules/ui_extensions.py
+++ b/modules/ui_extensions.py
@@ -244,7 +244,7 @@ def refresh_available_extensions_from_data(hide_tags, sort_column):
hidden += 1
continue
- install_code = f"""<input onclick="install_extension_from_index(this, '{html.escape(url)}')" type="button" value="{"Install" if not existing else "Installed"}" {"disabled=disabled" if existing else ""} class="gr-button gr-button-lg gr-button-secondary">"""
+ install_code = f"""<button onclick="install_extension_from_index(this, '{html.escape(url)}')" {"disabled=disabled" if existing else ""} class="lg secondary gradio-button custom-button">{"Install" if not existing else "Installed"}</button>"""
tags_text = ", ".join([f"<span class='extension-tag' title='{tags.get(x, '')}'>{x}</span>" for x in extension_tags])