DEV Community


Discussion on: Convert any .pdf file 📚 into an audio 🔈 book with Python

probeta1 profile image
Abhinav Kumar Srivastava

Really cool !
However , when I tried to convert a decent sized pdf file (3.0 MB) , I got the following error :

"gtts.tts.gTTSError: 500 (Internal Server Error) from TTS API. Probable
cause: Uptream API error. Try again later."

Is Gtts blocking me from using their API ? How shall I resolve this ?