-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.cmd
More file actions
41 lines (30 loc) · 988 Bytes
/
readme.cmd
File metadata and controls
41 lines (30 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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.