Make sure you have the following packages installed:
pip install whisper markdown2 pydub tqdmAdditionally, you need to have FFmpeg installed and available in your PATH.
- Clone the repository:
git clone https://github.com/your_username/your_repository.git
cd your_repository- Install the dependencies:
pip install whisper markdown2 pydub tqdm- Ensure FFmpeg is installed:
Check if FFmpeg is in the PATH by running:
ffmpeg -versionIf FFmpeg is not installed, follow the instructions on FFmpeg to install it.
- Place your audio file in the specified path:
By default, the audio file should be in ./Audios/audio.wav. Make sure to update audio_file_path in the script if your audio file is in a different location.
- Run the script:
python transcribe.py