Update poetry pyprotect.toml file to include the lower limit tensorflow version and upper limit tensorflow version for your project.
"tensorflow (>=2.11.0,<2.17.0)",
then run:
poetry check
this is to verify that all's good.
then run poetry install