Python script to find the parts of the podcast you're interested in by using a list of keywords.
Go to file
2023-11-12 00:44:50 +01:00
.gitignore inital commit 2023-10-04 16:18:18 +02:00
app.py fix white spaces in app.py 2023-11-12 00:44:50 +01:00
README.md fix #1 - update README to include solution for WSL issue 2023-11-09 16:33:42 +01:00
requirements.txt inital commit 2023-10-04 16:18:18 +02:00
transcript.txt add test transcript.txt 2023-10-04 21:55:54 +02:00

Podcast filter

This program takes a wav file and produces the transcript of the audio file. The goal is to be able to filter the parts of a podcast that you're interested in by using a keyword list. But it's still a work in progress.

Installation on GNU+linux

Step 1

Clone the repository

Step 2

Go to the folder of the repository and reate a virtual environment

python -m venv <name>

Step 3

Activate the environment

source <name>/bin/activate

Step 4

Install the requirements (there's a ton because we use the whisper engine for speech to text)

pip install -r requirements.txt

Installation on WSL

If for some reason you hate yourself and you want to use that malware bundled as an operating system that is Windows some issues might occur, even when using the windows subsystem for linux.

Step 1-4

Same as in the GNU+Linux install

Step 5

If you get the error:

Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory

You can solve it by:

  1. Go to the library directory cd /usr/lib/wsl/lib
  2. Backup the libraries you're going to fuck up just in case mv libcuda.so.1 libcuda.so.1.bkp and mv libcuda.so.1 libcuda.so.bkp
  3. Then symlink the one that works as the ones that don't ln -s libcuda.so.1.1 libcuda.so.1 and ln -s libcuda.so.1.1 libcuda.so
  4. Finally update the symlinks sudo ldconfig

After that it should hopefully also work on WSL, if it doesn't just format your C: drive and install Linux ^^.

Usage

Change the name of the file you want to transcribe in the code, make sure it's on the same folder as the program (or give the path in the code). Run the code python app.py. Enjoy the transcript.