Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -8,6 +8,83 @@ sdk_version: 1.42.0
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
short_description: Text based command and voice based output.
|
|
|
|
|
11 |
---
|
|
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
short_description: Text based command and voice based output.
|
11 |
+
thumbnail: >-
|
12 |
+
https://cdn-uploads.huggingface.co/production/uploads/662ba6f848b0b3742e6f9261/g5AwtsLlMV-uouzWRznGj.png
|
13 |
---
|
14 |
+
# π€ AI-Powered Voice Generator
|
15 |
|
16 |
+
*A smart and efficient Text-to-Speech application with voice modification and enhancement.*
|
17 |
+
|
18 |
+
## π About the Project
|
19 |
+
This **AI-Powered Voice Generator** is a Python-based application that converts text into speech with natural, clear voices. The app allows users to generate and modify voices using **offline** (pyttsx3) and **online** (Google TTS) engines. Additionally, users can change the voice pitch (male/female) and download the generated audio.
|
20 |
+
|
21 |
+
## β¨ Features
|
22 |
+
β
Convert text into speech using **pyttsx3** (offline) or **Google TTS** (online).
|
23 |
+
β
Modify voice pitch (Male/Female).
|
24 |
+
β
Normalize and enhance audio for clarity.
|
25 |
+
β
Download generated voice files.
|
26 |
+
β
Simple and interactive **Streamlit** user interface.
|
27 |
+
β
No need for external API keys (offline mode).
|
28 |
+
|
29 |
+
## πΈ Screenshot
|
30 |
+
### π€ Main Interface
|
31 |
+

|
32 |
+
### ποΈ Voice Output
|
33 |
+

|
34 |
+
|
35 |
+
## π οΈ Installation
|
36 |
+
Follow these steps to set up and run the project locally.
|
37 |
+
|
38 |
+
### 1οΈβ£ Clone the Repository
|
39 |
+
```bash
|
40 |
+
git clone https://github.com/your-username/voice-generator.git
|
41 |
+
cd voice-generator
|
42 |
+
```
|
43 |
+
|
44 |
+
### 2οΈβ£ Create a Virtual Environment (Optional but Recommended)
|
45 |
+
```bash
|
46 |
+
python -m venv venv
|
47 |
+
source venv/bin/activate # On Mac/Linux
|
48 |
+
venv\Scripts\activate # On Windows
|
49 |
+
```
|
50 |
+
|
51 |
+
### 3οΈβ£ Install Dependencies
|
52 |
+
```bash
|
53 |
+
pip install -r requirements.txt
|
54 |
+
```
|
55 |
+
|
56 |
+
### 4οΈβ£ Run the Application
|
57 |
+
```bash
|
58 |
+
streamlit run app.py
|
59 |
+
```
|
60 |
+
|
61 |
+
## π― Usage
|
62 |
+
1. Open the **Voice Generator App** in your browser.
|
63 |
+
2. Enter your text in the text box.
|
64 |
+
3. Choose the **engine** (Offline/Online) and **voice type** (Male/Female).
|
65 |
+
4. Click **Generate Voice** to convert the text to speech.
|
66 |
+
5. Listen to the generated audio and **download** it if needed.
|
67 |
+
|
68 |
+
## π Technologies Used
|
69 |
+
- **Python** π
|
70 |
+
- **Streamlit** π¨ (For interactive UI)
|
71 |
+
- **pyttsx3** π (Offline Text-to-Speech)
|
72 |
+
- **gTTS** π (Google TTS for Online Mode)
|
73 |
+
- **pydub** π΅ (Audio Processing)
|
74 |
+
- **librosa** πΆ (Voice Modifications)
|
75 |
+
- **NumPy & SoundFile** π (Signal Processing)
|
76 |
+
|
77 |
+
## π€ Contributing
|
78 |
+
Contributions are welcome! If youβd like to improve the project:
|
79 |
+
1. Fork the repository π΄
|
80 |
+
2. Create a new branch: `git checkout -b feature-name`
|
81 |
+
3. Make your changes and commit them.
|
82 |
+
4. Push to your branch: `git push origin feature-name`
|
83 |
+
5. Open a Pull Request π
|
84 |
+
|
85 |
+
|
86 |
+
## π¬ Contact
|
87 |
+
π‘ **Author:** Arman Amir Shikalgar
|
88 |
+
π§ **Email:** [email protected]
|
89 |
+
π **GitHub:** [My GitHub](https://github.com/Arman1263)
|
90 |
+
π’ Feel free to connect and contribute! π
|