diff --git a/build/windows/WindowsBuilder.py b/build/windows/WindowsBuilder.py index b1d4a7e..157f83e 100644 --- a/build/windows/WindowsBuilder.py +++ b/build/windows/WindowsBuilder.py @@ -482,10 +482,7 @@ def build_deepfacelive_windows(release_dir, cache_dir, python_ver='3.7.9', backe builder.install_pip_package('torch==1.8.1+cu111 torchvision==0.9.1+cu111 -f https://download.pytorch.org/whl/torch_stable.html') builder.install_pip_package('onnxruntime-gpu==1.9.0') elif backend == 'directml': - if python_ver[:3] == '3.7': - builder.install_pip_package('https://github.com/iperov/DeepFaceLive/releases/download/ort-dml/onnxruntime_directml-1.8.2-cp37-cp37m-win_amd64.whl') - else: - raise Exception(f'no onnxruntime_directml wheel for python {python_ver}') + builder.install_pip_package('onnxruntime-directml==1.9.0') builder.install_ffmpeg_binaries()