From 3ac42a0684b42208219c0d01c3147cb217f00c72 Mon Sep 17 00:00:00 2001 From: Smiril Date: Mon, 26 Feb 2024 19:17:58 +0100 Subject: [PATCH] Update 0_setup.sh --- scripts/0_setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/0_setup.sh b/scripts/0_setup.sh index b1f804c..0112c9c 100755 --- a/scripts/0_setup.sh +++ b/scripts/0_setup.sh @@ -18,6 +18,13 @@ if [ ! -d .dfl/DeepFaceLab ]; then (cd .dfl/DeepFaceLab; git checkout main) fi +if [ ! -d .dfl/env ]; then + echo "Cloning DeepFaceLab" + git clone --no-single-branch --depth 1 "https://github.com/Smiril/env.git" .dfl/env + + (cd .dfl/env; git checkout main) +fi + if [ ! -d .venvs/deepfacelab ]; then virtualenv -p python3 .venvs/deepfacelab fi