diff --git a/language/en.json b/language/en.json index cb5603f9..05a71bd9 100644 --- a/language/en.json +++ b/language/en.json @@ -36,6 +36,15 @@ "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)", + "Mask generation model": "Mask generation model", + "Cloth category": "Cloth category", + "Segmentation prompt": "Segmentation prompt", + "Advanced options": "Advanced options", + "SAM model": "SAM model", + "Quantization": "Quantization", + "Box Threshold": "Box Threshold", + "Text Threshold": "Text Threshold", + "Generate mask from image": "Generate mask from image", "Setting": "Setting", "Style": "Style", "Performance": "Performance", diff --git a/launch.py b/launch.py index e255dde2..a0588809 100644 --- a/launch.py +++ b/launch.py @@ -22,9 +22,9 @@ import fooocus_version from build_launcher import build_launcher from modules.launch_util import is_installed, run, python, run_pip, requirements_met from modules.model_loader import load_file_from_url -from modules.config import path_inpaint +from modules import config -os.environ["U2NET_HOME"] = path_inpaint +os.environ["U2NET_HOME"] = config.path_inpaint REINSTALL_ALL = False TRY_INSTALL_XFORMERS = False