-
Create prompt engineering pipeline that takes user input and generates a podcast script
-
Feed podcast script into text to audio pipeline
- Elevenlabs API is the best API for now, but there are still artefacts and randomness with each generation
- Run the following setup
python3 -m venv .venv
source .venv/bin/activate
# pip3 install pandas requests configparser pydub static-ffmpeg
pip install -r requirements.txt
- Then run this python code in .venv
- Its important you add this in your virtual environment
static_ffmpeg.add_paths()
- Rename
config_template.ini
toconfig.ini
and save your api keys - Create a podcast script file in
data/podcast_scripts
as<podcast_name>.txt
- Interviewer paragraphs should start with
**host:**
- Guest paragraphs should start with
**guest:**
- Will update to better tags later, that are not markdown lol
- example script
- Interviewer paragraphs should start with
- Define podcast script file name in the
pod_script_fn
variable - Alternative speaker ids can be found in speakers_eleven.json
- jupyter
- Used perplexity to generate podcast script from this publication
- perplexity prompt
- stitched together final audio