From 216539489d654eb1cd4e511945876a598544e3c7 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Thu, 1 Jun 2023 08:29:49 +0200 Subject: [PATCH] Conditional dependencies for Mac --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 70b082f..2652c0e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,8 @@ psutil==5.9.5 tk==0.1.0 pillow==9.5.0 torch==2.0.1 -onnxruntime-gpu==1.15.0 +onnxruntime==1.15.0; sys_platform == 'linux' +onnxruntime-gpu==1.15.0; sys_platform != 'darwin' tensorflow==2.12.0 opennsfw2==0.10.2 protobuf==4.23.2