This Flask web application allows users to upload PDF files and converts the extracted text into speech using Google Text-to-Speech (gTTS). The resulting audio is downloadable in WAV format.
- Upload any
.pdffile - Extract text using
PyPDF2 - Convert extracted text to audio using
gTTS - Download or listen to the output as a
.wavfile
- Python 3
- Flask
- PyPDF2
- gTTS
- pydub
- HTML/CSS (Jinja2 Templates)
- Clone the repository:
git clone https://github.com/eslteacher902010/pdf-to-speech-flask.git cd pdf-to-speech-flask