VoiceVibes is a Flask-based web application that leverages a trained CNN model to perform voice-related predictions. This project demonstrates how to integrate machine learning models with a web interface for interactive user experience.
VoiceVibes/
├── app.py # Flask application
├── model.py # Model loading and prediction logic
├── requirements.txt # Python dependencies
├── voicevibes_cnn_model.h5 # Pre-trained CNN model
├── templates/
│ └── index.html # HTML template for UI
└── static/
└── style.css # Style template for UI
- Load a pre-trained CNN model for voice prediction.
- User-friendly web interface via Flask.
- Easy to extend and integrate with other voice or ML applications.
- Clone the repository
git clone https://github.com/HariN999/VoiceVibes.git
cd VoiceVibes- Create and activate a virtual environment
python -m venv venv
# Windows
venv\Scripts\activate
# macOS/Linux
source venv/bin/activate- Install dependencies
pip install -r requirements.txt- Download / Generate the Model Before running the Flask app, you need the model file. Run:
python model.py 💡 Tip: It is recommended to use Google Colab for generating or training the model, especially if your local machine has limited resources. Colab provides free GPU support and ensures faster model creation.
This will either download the pre-trained CNN model or generate it locally, saving it as voicevibes_cnn_model.h5 in the project folder.
python app.py- Open your browser and navigate to
http://127.0.0.1:5000to access the web interface.
- Open the app in your browser.
- Upload or provide input as required by the model.
- Click Predict to get results based on the CNN model.
- Modify
model.pyto load different models or change prediction logic. - Update
templates/index.htmlfor a different UI layout. - Add new routes in
app.pyfor additional functionality.
- Python 3.8+
- Flask
- TensorFlow/Keras
- Numpy
Install all required packages via:
pip install -r requirements.txtHariharan Narlakanti GitHub | LinkedIn