diff --git a/scripts/0_setup.sh b/scripts/0_setup.sh index 74e5fbc..473d8cb 100755 --- a/scripts/0_setup.sh +++ b/scripts/0_setup.sh @@ -19,12 +19,20 @@ if [ ! -d .dfl/DeepFaceLab ]; then fi 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 (cd .dfl/env; git checkout main) 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 virtualenv -p python3 .dfl/deepfacelab fi