Use custom DFL branch for python 3.10

This commit is contained in:
Oleksandr Chychkan
2022-02-22 22:10:07 -08:00
parent d0a4d0f184
commit 5377435bf3
+4
View File
@@ -32,6 +32,10 @@ python -m pip install --upgrade pip
version=$(python -V | cut -f 2 -d ' ' | cut -f 1,2 -d .)
reqs_file='requirements.txt'
if [ "$version" == "3.10" ]; then
(cd .dfl/DeepFaceLab; git checkout support-opencv45)
fi
version_suffix=''
if [[ ! -z "$version" && -f "requirements_$version.txt" ]]; then
version_suffix="_$version"