diff --git a/html/footer.html b/html/footer.html index 69b2372c7..a96c0cfde 100644 --- a/html/footer.html +++ b/html/footer.html @@ -1,13 +1,13 @@
MIT License @@ -30,7 +30,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-
MIT License @@ -56,7 +56,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-
MIT License @@ -82,7 +82,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-
MIT License @@ -109,7 +109,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-
Copyright 2023 The HuggingFace Team. All rights reserved. @@ -329,7 +329,7 @@ SOFTWARE. limitations under the License.-
The MIT License (MIT) @@ -355,7 +355,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-
MIT License diff --git a/modules/options.py b/modules/options.py index 2a78a825e..eac69703a 100644 --- a/modules/options.py +++ b/modules/options.py @@ -34,7 +34,7 @@ class OptionInfo: """If True, the setting will not be accessible via API""" def link(self, label, url): - self.comment_before += f"[{label}]" + self.comment_before += f"[{label}]" return self def js(self, label, js_func): diff --git a/modules/shared_options.py b/modules/shared_options.py index 326a317e0..d8e36414c 100644 --- a/modules/shared_options.py +++ b/modules/shared_options.py @@ -312,7 +312,7 @@ options_templates.update(options_section(('ui', "User interface", "ui"), { "ui_tab_order": OptionInfo([], "UI tab order", ui_components.DropdownMulti, lambda: {"choices": list(shared.tab_names)}).needs_reload_ui(), "hidden_tabs": OptionInfo([], "Hidden UI tabs", ui_components.DropdownMulti, lambda: {"choices": list(shared.tab_names)}).needs_reload_ui(), "ui_reorder_list": OptionInfo([], "UI item order for txt2img/img2img tabs", ui_components.DropdownMulti, lambda: {"choices": list(shared_items.ui_reorder_categories())}).info("selected items appear first").needs_reload_ui(), - "gradio_theme": OptionInfo("Default", "Gradio theme", ui_components.DropdownEditable, lambda: {"choices": ["Default"] + shared_gradio_themes.gradio_hf_hub_themes}).info("you can also manually enter any of themes from the gallery.").needs_reload_ui(), + "gradio_theme": OptionInfo("Default", "Gradio theme", ui_components.DropdownEditable, lambda: {"choices": ["Default"] + shared_gradio_themes.gradio_hf_hub_themes}).info("you can also manually enter any of themes from the gallery.").needs_reload_ui(), "gradio_themes_cache": OptionInfo(True, "Cache gradio themes locally").info("disable to update the selected Gradio theme"), "show_progress_in_title": OptionInfo(True, "Show generation progress in window title."), "send_seed": OptionInfo(True, "Send seed when sending prompt or image to other interface"), diff --git a/modules/ui.py b/modules/ui.py index 403425f29..1d639359b 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -887,7 +887,7 @@ def create_ui(): with gr.Blocks(analytics_enabled=False) as train_interface: with gr.Row(equal_height=False): - gr.HTML(value="See wiki for detailed explanation.
") + gr.HTML(value="See wiki for detailed explanation.
") with ResizeHandleRow(variant="compact", equal_height=False): with gr.Tabs(elem_id="train_tabs"): @@ -927,7 +927,7 @@ def create_ui(): return sorted(textual_inversion.textual_inversion_templates) with gr.Tab(label="Train", id="train"): - gr.HTML(value="Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images [wiki]
") + gr.HTML(value="Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images [wiki]
") with FormRow(): train_embedding_name = gr.Dropdown(label='Embedding', elem_id="train_embedding", choices=sorted(sd_hijack.model_hijack.embedding_db.word_embeddings.keys())) create_refresh_button(train_embedding_name, sd_hijack.model_hijack.embedding_db.load_textual_inversion_embeddings, lambda: {"choices": sorted(sd_hijack.model_hijack.embedding_db.word_embeddings.keys())}, "refresh_train_embedding_name") @@ -1179,7 +1179,7 @@ def versions_html(): xformers_version = "N/A" return f""" -version: {tag} +version: {tag} • python: {python_version} • diff --git a/modules/ui_extensions.py b/modules/ui_extensions.py index d822c0b89..0386f678b 100644 --- a/modules/ui_extensions.py +++ b/modules/ui_extensions.py @@ -129,7 +129,7 @@ def make_commit_link(commit_hash, remote, text=None): if remote.endswith(".git"): remote = remote[:-4] href = remote + "/commit/" + commit_hash - return f'{text}' + return f'{text}' else: return text @@ -157,7 +157,7 @@ def extension_table(): ext: extensions.Extension ext.read_info_from_repo() - remote = f"""{html.escape("built-in" if ext.is_builtin else ext.remote or '')}""" + remote = f"""{html.escape("built-in" if ext.is_builtin else ext.remote or '')}""" if ext.can_update: ext_status = f"""""" @@ -211,7 +211,7 @@ def update_config_states_table(state_name): else: webui_commit_date = "" - remote = f"""{html.escape(webui_remote or '')}""" + remote = f"""{html.escape(webui_remote or '')}""" commit_link = make_commit_link(webui_commit_hash, webui_remote) date_link = make_commit_link(webui_commit_hash, webui_remote, webui_commit_date) @@ -285,7 +285,7 @@ def update_config_states_table(state_name): else: ext_commit_date = " " - remote = f"""{html.escape(ext_remote or '')}""" + remote = f"""{html.escape(ext_remote or '')}""" commit_link = make_commit_link(ext_commit_hash, ext_remote) date_link = make_commit_link(ext_commit_hash, ext_remote, ext_commit_date) @@ -504,7 +504,7 @@ def refresh_available_extensions_from_data(hide_tags, sort_column, filter_text=" code += f""" - {html.escape(name)} +
{tags_text}{html.escape(name)}
{tags_text}{html.escape(description)} Update: {html.escape(update_time)} Added: {html.escape(added)} Created: {html.escape(create_time)}stars: {stars}
{install_code} diff --git a/modules/ui_settings.py b/modules/ui_settings.py index 087b91f3b..852c94768 100644 --- a/modules/ui_settings.py +++ b/modules/ui_settings.py @@ -170,7 +170,7 @@ class UiSettings: loadsave.create_ui() with gr.TabItem("Sysinfo", id="sysinfo", elem_id="settings_tab_sysinfo"): - gr.HTML('Download system info
(or open as text in a new page)', elem_id="sysinfo_download") + gr.HTML('Download system info
(or open as text in a new page)', elem_id="sysinfo_download") with gr.Row(): with gr.Column(scale=1):