Activate the virtual environment (it might install some packages)
pipenv shell
Install Flask, Tensorflow.
pipenv install flask, tensorflow
After this, you can exit the terminal using exit() and then run the following command to run the localhost.
python app.py