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();