diff --git a/src/main/java/ai/nets/samj/install/EfficientSamEnvManager.java b/src/main/java/ai/nets/samj/install/EfficientSamEnvManager.java index 10e0d4d..47e17c3 100644 --- a/src/main/java/ai/nets/samj/install/EfficientSamEnvManager.java +++ b/src/main/java/ai/nets/samj/install/EfficientSamEnvManager.java @@ -176,7 +176,7 @@ public boolean checkSAMDepsInstalled() { * {@value #ESAM_ENV_NAME}. The Python executable and other dependencies will be at {@value #ESAM_ENV_NAME} * @return whether the Python package to run EfficientSAM has been installed. */ - public boolean checkEfficientSAMPackageInstalled() { + private boolean checkEfficientSAMPackageInstalled() { if (!checkMambaInstalled()) return false; File pythonEnv = Paths.get(this.path, "envs", ESAM_ENV_NAME, ESAM_NAME).toFile(); if (!pythonEnv.exists() || pythonEnv.list().length <= 1) return false; diff --git a/src/main/java/ai/nets/samj/install/EfficientViTSamEnvManager.java b/src/main/java/ai/nets/samj/install/EfficientViTSamEnvManager.java index 4d6d586..24e5e9b 100644 --- a/src/main/java/ai/nets/samj/install/EfficientViTSamEnvManager.java +++ b/src/main/java/ai/nets/samj/install/EfficientViTSamEnvManager.java @@ -222,10 +222,10 @@ public boolean checkSAMDepsInstalled() { /** * Check whether the Python package to run EfficientSAM has been installed. The package will be in the folder - * {@value #ESAM_ENV_NAME}. The Python executable and other dependencies will be at {@value #EVITSAM_ENV_NAME} + * {@value #EVITSAM_ENV_NAME}. The Python executable and other dependencies will be at {@value #EVITSAM_ENV_NAME} * @return whether the Python package to run EfficientSAM has been installed. */ - public boolean checkEfficientViTSAMPackageInstalled() { + private boolean checkEfficientViTSAMPackageInstalled() { if (!checkMambaInstalled()) return false; File pythonEnv = Paths.get(this.path, "envs", EVITSAM_ENV_NAME, EVITSAM_NAME).toFile(); if (!pythonEnv.exists() || pythonEnv.list().length <= 1) return false;