Git Product home page Git Product logo

speechemotionapp's Introduction

Speech Emotion Recognition Web Application

This repository contains the source code for a web application that performs Speech Emotion Recognition. The application uses a machine learning model to analyze speech and predict the emotional content of the input.

File Structure

  • app.py: Main Python file containing the Flask web application.
  • templates/: Folder containing HTML templates.
    • index.html: The main HTML file for the web application.
  • static/: Folder containing static assets such as images and stylesheets.
    • images/: Folder for storing images used in the web application.
    • custom.js: Custom JavaScript file for client-side functionality.
    • upload.css: Cascading Style Sheets (CSS) file for styling file upload components.
  • model/: Folder containing the saved machine learning model.
  • requirements.txt: File specifying the Python dependencies for the project.

Running the Web Application

To run the Speech Emotion Recognition Web Application locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/speech-emotion-recognition-web-app.git
  2. Navigate to the project directory:

    cd SpeechEmotionApp
  3. Create a virtual environment (optional but recommended):

    python -m venv venv

    Activate the virtual environment:

    • On Windows:
      venv\Scripts\activate
    • On Unix or MacOS:
      source venv/bin/activate
  4. Install dependencies:

    pip install -r requirements.txt
  5. Run the Flask application:

    python app.py or flask run

    The web application will be accessible at http://127.0.0.1:5000/ or http://localhost:5000/ in your web browser.

Usage

  1. Navigate to the web application in your browser.

  2. Click on "Browse Audio" or drag and drop to upload an audio file containing speech.

  3. Click on the "Analyze Audio" button to predict the speech and display the predicted emotion.

Contributing

Feel free to contribute to the development of this project. If you encounter any issues or have suggestions, please open an issue or submit a pull request.

speechemotionapp's People

Contributors

fizzyfeezy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.