This repository contains functionality for automatic speech recognition and transcript analysis.
Install all the project dependencies by running the following command in the project's root directory:
poetry install
You can use the following command to activate the virtual environment
poetry shell
Note: Make sure you have Poetry installed on your system. If not, you can install it using:
pip install poetry
Ensure you have the following API key before stored in the .env file:
- OPEN_AI_API_KEY
After completing those steps you can add a youtube url of a video in the main.py file and run that script, this should tackle the download, conversion to wav file and some other visualizations which woudld be obtained afterwards:
python src/main.py
For more details of the implementation you may check "documentation/documentation.MD" file
If you encounter any issues with the open ai version, run this:
pip install openai==0.28
If you encounter issues with the relative path, run this:
export PYTHONPATH=$PWD