From 539c6515aa7d19697111a8e2de5f6095166f83d3 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Thu, 1 Jun 2023 14:42:28 +0200 Subject: [PATCH] Use tensorflow-macos for Macs --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f81fa0c..0f6447c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,8 @@ pillow==9.5.0 torch==2.0.1 onnxruntime==1.15.0; sys_platform == 'darwin' onnxruntime-gpu==1.15.0; sys_platform != 'darwin' -tensorflow==2.12.0 +tensorflow-macos==2.12.0; sys_platform == 'darwin' +tensorflow==2.12.0; sys_platform != 'darwin' opennsfw2==0.10.2 protobuf==4.23.2 tqdm==4.65.0