The step by step tutorial & code walkthrough can be found in the subtitler-tutorial.ipynb file
Go into the backend subfolder
cd instagram-reels-subtitles/backend
Make a virtual python environment
python3 -m venv venv
Use the venv
source venv/bin/activate
Install the necessary packages
pip3 install groq moviepy pysrt
Run this command in your terminal
python3 captioner.py