/Flask-based-Image-classifier

Image classifier served by Flask server and implementing Resnet50 model

Primary LanguagePython

Flask-based-Image-classifier

Image classifier served by Flask server and implementing Resnet50 model

If venv is not installed on linux machine then install it by running below commands -

  1. sudo apt-get install virtualenv
  2. python3 -m venv venv
  3. Activate venv by running ". venv/bin.activate"

Install flask inside venv session -

  1. pip install flask
  2. Before running app.py set "export FLASK_APP=app.py"
  3. Run flask server in localmode - "flask run --host=0.0.0.0"

Open browser and run url- http://127.0.0.1:5000/ to connect to this server