diff --git a/language/en.json b/language/en.json
index de448969..ed25165a 100644
--- a/language/en.json
+++ b/language/en.json
@@ -1,8 +1,6 @@
{
"Preview": "Preview",
- "\n
\n": "\n\n",
"Gallery": "Gallery",
- "": "",
"Generate": "Generate",
"Skip": "Skip",
"Stop": "Stop",
@@ -16,7 +14,6 @@
"Upscale (1.5x)": "Upscale (1.5x)",
"Upscale (2x)": "Upscale (2x)",
"Upscale (Fast 2x)": "Upscale (Fast 2x)",
- "\ud83d\udcd4 Document": "\ud83d\udcd4 Document",
"Image": "Image",
"Stop At": "Stop At",
"Weight": "Weight",
@@ -24,20 +21,15 @@
"Image Prompt": "Image Prompt",
"PyraCanny": "PyraCanny",
"CPDS": "CPDS",
- "* \"Image Prompt\" is powered by Fooocus Image Mixture Engine (v1.0.1). \ud83d\udcd4 Document": "* \"Image Prompt\" is powered by Fooocus Image Mixture Engine (v1.0.1). \ud83d\udcd4 Document",
- "Outpaint Expansion (\ud83d\udcd4 Document):": "Outpaint Expansion (\ud83d\udcd4 Document):",
"Outpaint": "Outpaint",
"Left": "Left",
"Right": "Right",
"Top": "Top",
"Bottom": "Bottom",
- "* \"Inpaint or Outpaint\" is powered by the sampler \"DPMPP Fooocus Seamless 2M SDE Karras Inpaint Sampler\" (beta)": "* \"Inpaint or Outpaint\" is powered by the sampler \"DPMPP Fooocus Seamless 2M SDE Karras Inpaint Sampler\" (beta)",
- "uov": "uov",
"Performance": "Performance",
"Speed": "Speed",
"Quality": "Quality",
"Aspect Ratios": "Aspect Ratios",
- "896\u00d71152": "896\u00d71152",
"width \u00d7 height": "width \u00d7 height",
"704\u00d71408": "704\u00d71408",
"704\u00d71344": "704\u00d71344",
@@ -45,6 +37,7 @@
"768\u00d71280": "768\u00d71280",
"832\u00d71216": "832\u00d71216",
"832\u00d71152": "832\u00d71152",
+ "896\u00d71152": "896\u00d71152",
"896\u00d71088": "896\u00d71088",
"960\u00d71088": "960\u00d71088",
"960\u00d71024": "960\u00d71024",
@@ -66,11 +59,9 @@
"1728\u00d7576": "1728\u00d7576",
"Image Number": "Image Number",
"Negative Prompt": "Negative Prompt",
- "(embedding:unaestheticXLv31:0.8), low quality, watermark": "(embedding:unaestheticXLv31:0.8), low quality, watermark",
"Describing what you do not want to see.": "Describing what you do not want to see.",
"Random": "Random",
"Seed": "Seed",
- "\ud83d\udcda History Log": "\ud83d\udcda History Log",
"Image Style": "Image Style",
"Fooocus V2": "Fooocus V2",
"Default (Slightly Cinematic)": "Default (Slightly Cinematic)",
@@ -285,8 +276,8 @@
"Watercolor 2": "Watercolor 2",
"Whimsical And Playful": "Whimsical And Playful",
"Base Model (SDXL only)": "Base Model (SDXL only)",
- "bluePencilXL_v050.safetensors": "bluePencilXL_v050.safetensors",
"bluePencilXL_v009.safetensors": "bluePencilXL_v009.safetensors",
+ "bluePencilXL_v050.safetensors": "bluePencilXL_v050.safetensors",
"DreamShaper_8_pruned.safetensors": "DreamShaper_8_pruned.safetensors",
"realisticStockPhoto_v10.safetensors": "realisticStockPhoto_v10.safetensors",
"realisticVisionV51_v51VAE.safetensors": "realisticVisionV51_v51VAE.safetensors",
@@ -295,21 +286,19 @@
"Refiner (SDXL or SD 1.5)": "Refiner (SDXL or SD 1.5)",
"None": "None",
"SDXL LoRA 1": "SDXL LoRA 1",
- "sd_xl_offset_example-lora_1.0.safetensors": "sd_xl_offset_example-lora_1.0.safetensors",
"3d_render_style_xl.safetensors": "3d_render_style_xl.safetensors",
"Bloodstained-XL-V1.safetensors": "Bloodstained-XL-V1.safetensors",
"SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors": "SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors",
+ "sd_xl_offset_example-lora_1.0.safetensors": "sd_xl_offset_example-lora_1.0.safetensors",
"SDXL LoRA 2": "SDXL LoRA 2",
"SDXL LoRA 3": "SDXL LoRA 3",
"SDXL LoRA 4": "SDXL LoRA 4",
"SDXL LoRA 5": "SDXL LoRA 5",
"Refresh": "Refresh",
- "\ud83d\udd04 Refresh All Files": "\ud83d\udd04 Refresh All Files",
"Sampling Sharpness": "Sampling Sharpness",
"Higher value means image and texture are sharper.": "Higher value means image and texture are sharper.",
"Guidance Scale": "Guidance Scale",
"Higher value means style is cleaner, vivider, and more artistic.": "Higher value means style is cleaner, vivider, and more artistic.",
- "\ud83d\udcd4 Document": "\ud83d\udcd4 Document",
"Developer Debug Mode": "Developer Debug Mode",
"Positive ADM Guidance Scaler": "Positive ADM Guidance Scaler",
"The scaler multiplied to positive ADM (use 1.0 to disable). ": "The scaler multiplied to positive ADM (use 1.0 to disable). ",
@@ -324,7 +313,6 @@
"CFG Mimicking from TSNR": "CFG Mimicking from TSNR",
"Enabling Fooocus's implementation of CFG mimicking for TSNR (effective when real CFG > mimicked CFG).": "Enabling Fooocus's implementation of CFG mimicking for TSNR (effective when real CFG > mimicked CFG).",
"Sampler": "Sampler",
- "dpmpp_2m_sde_gpu": "dpmpp_2m_sde_gpu",
"Only effective in non-inpaint mode.": "Only effective in non-inpaint mode.",
"euler": "euler",
"euler_ancestral": "euler_ancestral",
@@ -339,6 +327,7 @@
"dpmpp_sde_gpu": "dpmpp_sde_gpu",
"dpmpp_2m": "dpmpp_2m",
"dpmpp_2m_sde": "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu": "dpmpp_2m_sde_gpu",
"dpmpp_3m_sde": "dpmpp_3m_sde",
"dpmpp_3m_sde_gpu": "dpmpp_3m_sde_gpu",
"ddpm": "ddpm",
@@ -346,9 +335,9 @@
"uni_pc": "uni_pc",
"uni_pc_bh2": "uni_pc_bh2",
"Scheduler": "Scheduler",
- "karras": "karras",
"Scheduler of Sampler.": "Scheduler of Sampler.",
"normal": "normal",
+ "karras": "karras",
"exponential": "exponential",
"sgm_uniform": "sgm_uniform",
"simple": "simple",
@@ -363,8 +352,8 @@
"Set as negative number to disable. For developer debugging.": "Set as negative number to disable. For developer debugging.",
"Forced Overwrite of Denoising Strength of \"Upscale\"": "Forced Overwrite of Denoising Strength of \"Upscale\"",
"Inpaint Engine": "Inpaint Engine",
- "v1": "v1",
"Version of Fooocus inpaint model": "Version of Fooocus inpaint model",
+ "v1": "v1",
"v2.5": "v2.5",
"Debug Preprocessors": "Debug Preprocessors",
"Mixing Image Prompt and Vary/Upscale": "Mixing Image Prompt and Vary/Upscale",
diff --git a/modules/localization.py b/modules/localization.py
index cd8088a6..62d2bdeb 100644
--- a/modules/localization.py
+++ b/modules/localization.py
@@ -29,14 +29,11 @@ def dump_english_config(components):
all_texts = []
for c in components:
label = getattr(c, 'label', None)
- value = getattr(c, 'value', None)
choices = getattr(c, 'choices', None)
info = getattr(c, 'info', None)
if isinstance(label, str):
all_texts.append(label)
- if isinstance(value, str):
- all_texts.append(value)
if isinstance(info, str):
all_texts.append(info)
if isinstance(choices, list):
@@ -48,7 +45,7 @@ def dump_english_config(components):
if isinstance(y, str):
all_texts.append(y)
- config_dict = {k: k for k in all_texts}
+ config_dict = {k: k for k in all_texts if k != ""}
full_name = os.path.abspath(os.path.join(localization_root, 'en.json'))
with open(full_name, "w", encoding="utf-8") as json_file: