Skip to content

rav94/sentimentAnalyzer

Repository files navigation

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

About

Audio Feedback Sentiment Analyzer with AWS Comprehend | Transcribe Exposed as a REST API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published