A model for emotion classification based on text and audio.
Project description
Emotion
A model for emotion classification based on text and audio.
Acknowledgements
- Hafed Benteftifa
- Soumaya Chaffar
Features
Give audio and text as input and get back the dominant emotion.
Usage/Examples
[TODO]
API Reference [TODO]
Get all items
GET /api/items
Parameter | Type | Description |
---|---|---|
api_key |
string |
Required. API key |
Get item
GET /api/items/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
Installation
Install emotion with pip
pip install emotion
Environment Variables
To run this project, you will need to add the following environment variables to your .env file
GDRIVE_CREDENTIALS_DATA
SECRET_KEY
Run Locally
Be sure to have python 3.8 as the python executable
python3 --version
To install Poetry, run:
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.1.14 python3 - --yes
Clone the project
git clone https://github.com/philipgaudreau/emotion
Go to the project directory
cd emotion
Install dependencies (add flag --default
if you do not want development dependencies)
poetry install
Activate the virtual environment
poetry shell
Start using the command line interface
emotion --help
Running Tests
To run tests, run the following command (development dependencies must be installed)
pytest tests
Deployment
To deploy this project run
[TODO]
Tech Stack
Client: flask, [TODO]
Server: python, [TODO]
Feedback
If you have any feedback, please reach out to one of us.
Authors
🚀 About Us
We are on our way to finish a degree in Machine Learning.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file a62-emotion-0.10.5.tar.gz
.
File metadata
- Download URL: a62-emotion-0.10.5.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b1 CPython/3.8.13 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89dfae45fbbb9282f631a95b10c2c6eaaa31755cab7e6e7dfff3b4a2982bb301 |
|
MD5 | 3d4669e7eead0b031e6744885491ef1f |
|
BLAKE2b-256 | 37d586e8b1260f2d24e512a425e10aaa7fa435653877804a916600e261f1d981 |
File details
Details for the file a62_emotion-0.10.5-py3-none-any.whl
.
File metadata
- Download URL: a62_emotion-0.10.5-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b1 CPython/3.8.13 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e26f320331f1d5943af82b72ee16bf6396a85dede47915833a529c02163642d |
|
MD5 | b517a12cc27d00877d148214fe34888f |
|
BLAKE2b-256 | 15790d95cc0e479d0774523ee3e9b8e5afcb7e92f9b5bb28ff601ebf51977586 |