From 1d4a835e4a51ae131032a9e30ca18bd008601ff9 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 10 Oct 2022 19:58:56 +0530 Subject: [PATCH] Run the SD install command inside the SD repo folder --- installer/installer/tasks/install_stable_diffusion_packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/installer/tasks/install_stable_diffusion_packages.py b/installer/installer/tasks/install_stable_diffusion_packages.py index 7574d876..f9fcda4d 100644 --- a/installer/installer/tasks/install_stable_diffusion_packages.py +++ b/installer/installer/tasks/install_stable_diffusion_packages.py @@ -18,7 +18,7 @@ def run(): if not os.path.exists(app.project_env_dir_path): helpers.run(f'micromamba create --prefix {app.project_env_dir_path}', log_the_cmd=True) - helpers.run(f'micromamba install -y --prefix {app.project_env_dir_path} -f {environment_file_path}', env=env, log_the_cmd=True) + helpers.run(f'micromamba install -y --prefix {app.project_env_dir_path} -f {environment_file_path}', env=env, log_the_cmd=True, run_in_folder=app.stable_diffusion_repo_dir_path) if is_valid_env(): helpers.log("Installed the packages necessary for Stable Diffusion")