PDF to Speech Converter | Flask Project | Upload PDF & Get MP3
Turn any PDF into an audio file π§ using this simple **Python + Flask project**.
Just upload your PDF, and the app will extract the text and convert it to *speech (MP3)* with support for both *gTTS* (Google Text-to-Speech) and *pyttsx3* (offline).
π₯ Features:
Upload PDF and extract text
Convert text to MP3 (download/play in browser)
Choose voice engine (gTTS or pyttsx3)
Signup/Login system for user accounts
Lightweight and easy to run locally
π *Download Source Code (Google Drive):*
π [https://drive.google.com/file/d/1kG0PggDaxGVbSgZrbiLHK3_I1tCbtpwe/view?usp=sharing](https://drive.google.com/file/d/1kG0PggDaxGVbSgZrbiLHK3_I1tCbtpwe/view?usp=sharing)
β οΈ *Setup Instructions:*
```powershell
1. Create virtual environment
python -m venv .venv
2. Activate venv
.\.venv\Scripts\Activate.ps1
3. Install dependencies
pip install -r requirements.txt
4. Run the app
python app.py
```
π Open in browser: [http://127.0.0.1:5000](http://127.0.0.1:5000)