We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b66b0 commit 02e1581Copy full SHA for 02e1581
tensorflow_hub/pip_package/build_pip_package.sh
@@ -58,6 +58,15 @@ function main() {
58
cp "tensorflow_hub/LICENSE" "${TMPDIR}/LICENSE.txt"
59
cp -R "${RUNFILES}/tensorflow_hub" "${TMPDIR}"
60
61
+ # Remove this once the library supports Keras 3.
62
+ # Install tf-keras-nightly instead if tf-nightly is installed.
63
+ if [[ $TENSORFLOW_VERSION == *tf-nightly ]]
64
+ then
65
+ sed -i "s|tf-keras|tf-keras-nightly|g" "${TMPDIR}/setup.py"
66
+ else
67
+ echo "Did not replace dependency on tf-keras"
68
+ fi
69
+
70
pushd ${TMPDIR}
71
rm -f MANIFEST
72
0 commit comments