Emotion detection from text, simple flask app with j-hartmann/emotion-english-distilroberta-base
pre-train model
screencast_fcOAwRtd.mp4
- Create a virtualenv with Python and activate it. Refer to this link for help on specifying the Python version in the virtualenv.
python3 -m pip install --user virtualenv
python3 -m virtualenv --python=<path-to-python3.x> .devops
source .devops/bin/activate
- Run
make install
to install the necessary dependencies - just download a pre-trained model
make download_model_data
- Standalone:
python app.py
- Run in Docker:
./run_docker.sh
- Run in Kubernetes:
./run_kubernetes.sh
- Setup and Configure Docker locally
- Setup and Configure Kubernetes locally
- Create Flask app in Container
- Run via kubectl