We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5551f54 commit fc6e37bCopy full SHA for fc6e37b
requirements.txt
@@ -1,7 +1,7 @@
1
# Tensorflow.
2
tensorflow-cpu~=2.18.0;sys_platform != 'darwin'
3
tensorflow~=2.18.0;sys_platform == 'darwin'
4
-tensorflow-text~=2.18
+tensorflow-text~=2.18;platform_system != 'Windows'
5
6
# Torch.
7
--extra-index-url https://download.pytorch.org/whl/cpu
setup.py
@@ -45,13 +45,13 @@ def get_version(rel_path):
45
"regex",
46
"rich",
47
"kagglehub",
48
+ "tensorflow-text;platform_system != 'Windows'",
49
],
50
extras_require={
51
"extras": [
52
"rouge-score",
53
"sentencepiece",
54
- "nlp": ["tensorflow-text"],
55
},
56
# Supported Python versions
57
python_requires=">=3.9",
0 commit comments