Create the env using -y

This commit is contained in:
cmdr2 2022-10-12 16:56:40 +05:30
parent 1ec92dd5f3
commit af56aee5c6
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ if not exist ".git" (
)
@rem create the environment
call micromamba create -f environment.yml
call micromamba create -y -f environment.yml
call micromamba activate invokeai
@rem preload the models

View File

@ -71,9 +71,9 @@ fi
# create the environment
if [ "$OS_NAME" == "mac" ]; then
PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-arm64 micromamba create -f environment-mac.yml
PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-arm64 micromamba create -y -f environment-mac.yml
else
micromamba create -f environment.yml
micromamba create -y -f environment.yml
fi
micromamba activate invokeai