Skip to main content

A model for emotion classification based on text and audio.

Project description

Emotion

A model for emotion classification based on text and audio.

emotion - merge emotion - pr emotion - push MIT License

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.2.0b1 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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a62-emotion-0.10.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

a62_emotion-0.10.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file a62-emotion-0.10.0.tar.gz.

File metadata

  • Download URL: a62-emotion-0.10.0.tar.gz
  • Upload date:
  • Size: 12.8 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

Hashes for a62-emotion-0.10.0.tar.gz
Algorithm Hash digest
SHA256 5e8d8197a93a8648d98b871f1b9c9b86232459b10a49e89e12f151a86f365ffd
MD5 4531cb4d48ac1eb9884a6552ffc1e9cf
BLAKE2b-256 b2eb9f7d7fd52fa6824225ed6cddeed4b85a89a73517c23f644d8717c946134c

See more details on using hashes here.

File details

Details for the file a62_emotion-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: a62_emotion-0.10.0-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

Hashes for a62_emotion-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccf2499a1a9314d972e9afcd9045d59fa264727829374969990b4881b3d954c1
MD5 8960e255fe69ad0dc8bf130e04e7c9d1
BLAKE2b-256 664e91e731bc9865c77f0802bf3915f43ec5ae193d83e78144a4e007c1b7c113

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page