Update 0_setup.sh
This commit is contained in:
+9
-1
@@ -19,12 +19,20 @@ if [ ! -d .dfl/DeepFaceLab ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d .dfl/env ]; then
|
if [ ! -d .dfl/env ]; then
|
||||||
echo "Cloning DeepFaceLab"
|
echo "Cloning env python3.10"
|
||||||
git clone --no-single-branch --depth 1 "https://github.com/Smiril/env.git" .dfl/env
|
git clone --no-single-branch --depth 1 "https://github.com/Smiril/env.git" .dfl/env
|
||||||
|
|
||||||
(cd .dfl/env; git checkout main)
|
(cd .dfl/env; git checkout main)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d .dfl/ffmpeg ]; then
|
||||||
|
echo "Cloning ffmpeg for python3.11"
|
||||||
|
git clone --no-single-branch --depth 1 "https://github.com/kkroening/ffmpeg-python.git" .dfl/ffmpeg
|
||||||
|
|
||||||
|
(cd .dfl/ffmpeg; git checkout main)
|
||||||
|
(cp -R .dfl/ffmpeg/ffmpeg .dfl/deepfacelab/lib/python3.11/site-packages/)
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -d .dfl/deepfacelab ]; then
|
if [ ! -d .dfl/deepfacelab ]; then
|
||||||
virtualenv -p python3 .dfl/deepfacelab
|
virtualenv -p python3 .dfl/deepfacelab
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user