Read any PDF book with just few line of Python code
Create new Virtual ENV:
pip install audiobook
from audiobook import Audiobook
ab = Audiobook("file_path")
ab.text_to_speech()
- If you are on a linux system and if the voice output is not working , then : Install espeak , ffmpeg and libespeak1 as shown below:
sudo apt update && sudo apt install espeak ffmpeg libespeak1