From 46b0c57670dc3cd4fef4c49e44d9d5465e450346 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Tue, 25 Jun 2024 21:58:00 +0200 Subject: [PATCH] feat: rename enhance input label and info text --- language/en.json | 4 ++-- webui.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/language/en.json b/language/en.json index 6289f5a8..61d7d53c 100644 --- a/language/en.json +++ b/language/en.json @@ -412,9 +412,9 @@ "Detection prompt": "Detection prompt", "Detection Prompt Quick List": "Detection Prompt Quick List", "Maximum number of detections": "Maximum number of detections", - "Base image for enhance": "Base image for enhance", + "Use with Enhance, skips image generation": "Use with Enhance, skips image generation", "Order of Processing": "Order of Processing", - "Use before for enhancement of small details and after for large areas.": "Use before for enhancement of small details and after for large areas.", + "Use before to enhance small details and after to enhance large areas.": "Use before to enhance small details and after to enhance large areas.", "Before First Enhancement": "Before First Enhancement", "After Last Enhancement": "After Last Enhancement", "Prompt Type": "Prompt Type", diff --git a/webui.py b/webui.py index 434ec60f..288b6bda 100644 --- a/webui.py +++ b/webui.py @@ -330,7 +330,7 @@ with shared.gradio_root: with gr.TabItem(label='Enhance') as enhance_tab: with gr.Row(): with gr.Column(): - enhance_input_image = grh.Image(label='Base image for enhance', source='upload', type='numpy') + enhance_input_image = grh.Image(label='Use with Enhance, skips image generation', source='upload', type='numpy') gr.HTML('\U0001F4D4 Document') with gr.TabItem(label='Metadata') as metadata_tab: @@ -362,7 +362,7 @@ with shared.gradio_root: enhance_uov_method = gr.Radio(label='Upscale or Variation:', choices=flags.uov_list, value=modules.config.default_enhance_uov_method) enhance_uov_processing_order = gr.Radio(label='Order of Processing', - info='Use before for enhancement of small details and after for large areas.', + info='Use before to enhance small details and after to enhance large areas.', choices=flags.enhancement_uov_processing_order, value=modules.config.default_enhance_uov_processing_order) enhance_uov_prompt_type = gr.Radio(label='Prompt',