From 88bdd350e878f48b71c7c8018fc9d6f8c96d3639 Mon Sep 17 00:00:00 2001 From: Zhenya Warshavsky Date: Thu, 14 Oct 2021 11:43:07 -0400 Subject: [PATCH] Changed Tensorflow version number for Python 3.9 --- machine-learning-box/sentiment-analysis/py_scripts/sentiment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine-learning-box/sentiment-analysis/py_scripts/sentiment.py b/machine-learning-box/sentiment-analysis/py_scripts/sentiment.py index 3d43f11a..5364e575 100644 --- a/machine-learning-box/sentiment-analysis/py_scripts/sentiment.py +++ b/machine-learning-box/sentiment-analysis/py_scripts/sentiment.py @@ -28,7 +28,7 @@ def run( # https://www.tensorflow.org/hub/tutorials/text_classification_with_tf_hub os.system( - f"{sys.executable} -m pip install -U tensorflow==2.0.0 tensorflow_hub==0.7.0" + f"{sys.executable} -m pip install -U tensorflow==2.5.0 tensorflow_hub==0.7.0" ) import pytd