From ab1bbce41968893d9f0d03aff60fa06fac5725f7 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 22 Jul 2024 22:41:19 -0500 Subject: [PATCH] Simplify TensorFlow CUDA 12 option. --- _includes/selector.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/selector.html b/_includes/selector.html index e3988c2a5a1..a369dee2b80 100644 --- a/_includes/selector.html +++ b/_includes/selector.html @@ -821,7 +821,7 @@ return; } this.active_additional_packages = [...this.active_additional_packages, package]; - if (this.active_additional_packages.includes("TensorFlow") && (!this.active_conda_cuda_ver.includes("12"))) this.active_conda_cuda_ver = "12"; + if (this.active_additional_packages.includes("TensorFlow") && this.active_conda_cuda_ver !== "12") this.active_conda_cuda_ver = "12"; }, copyToClipboard() { let range = document.createRange();