feat: rename enhance input label and info text

This commit is contained in:
Manuel Schmid 2024-06-25 21:58:00 +02:00
parent db62bb801e
commit 46b0c57670
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
2 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -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('<a href="https://github.com/mashb1t/Fooocus/discussions/42" target="_blank">\U0001F4D4 Document</a>')
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',