Skip to content

Latest commit

 

History

History
41 lines (21 loc) · 1.01 KB

README.md

File metadata and controls

41 lines (21 loc) · 1.01 KB

Audio Sentiment Analyzer

work

Audio Sentiment Analyzer with AWS Transcribe/ Comprehend - Exposed as a Flask REST API. Exposed API will take an audio file path from S3 as input and output the sentiment of the audio

Installation

1 - Create a virtual environment with Python3

virtualenv --no-site-packages -p /usr/local/bin/python3  env

2 - Install FLask/ Boto3

sudo env/bin/pip3.7 install flask

sudo env/bin/pip3.7 install boto3

sudo env/bin/pip3.7 install validators

sudo env/bin/pip3.7 install flask_cors

3 - Run app

source env/bin/activate

sudo python main.py

4 - Docker-based deployment

docker build --tag sentimentAnalyzer:latest .

docker run -p 5000:5000 sentimentAnalyzer:latest

Inspired By

Article

License

MIT