Skip to content

Commit

Permalink
Remove TFX version pin to fix import error
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 452375524
  • Loading branch information
rcrowe-google authored and tfx-copybara committed Jun 1, 2022
1 parent e797ae5 commit 32168c6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/tutorials/tfx/neural_structured_learning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,9 @@
},
"outputs": [],
"source": [
"try:\n",
" import colab\n",
" !pip install --upgrade pip\n",
"except:\n",
" pass"
"import sys\n",
"if 'google.colab' in sys.modules:\n",
" !pip install --upgrade pip"
]
},
{
Expand All @@ -167,7 +165,7 @@
"outputs": [],
"source": [
"!pip install -q -U \\\n",
" tfx==1.2.0 \\\n",
" tfx \\\n",
" neural-structured-learning \\\n",
" tensorflow-hub \\\n",
" tensorflow-datasets"
Expand Down

0 comments on commit 32168c6

Please sign in to comment.