Skip to content

Gimmyalex/Software-Eng-practice

Repository files navigation

README.md file for your PDF to Audio Converter Flask app
PDF to Audio Converter
This web application converts PDF files to audio (MP3) format. Users can upload a PDF file, and the app will convert the text content of the PDF into speech.
Features

- Upload PDF files
- Converts PDF text content to audio
- Download the generated audio file

Getting Started
1. Clone the repository:

```bash
git clone https://github.com/your-username/pdf-to-audio-converter.git
cd pdf-to-audio-converter
```

2. Install dependencies:

```bash
pip install -r requirements.txt
```

3. Run the app:

```bash
python app.py
```

4. Open your browser and go to [http://localhost:5000/](http://localhost:5000/)

5. Upload a PDF file, and the app will generate an audio file for you to download.

Requirements
- Python 3.x
- Flask
- gtts (Google Text-to-Speech)
- PyPDF2

Contributing
Feel free to contribute to this project. If you encounter any issues or have suggestions for improvement, please open an issue.