Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
@@ -1,42 +1,25 @@
|
|
1 |
-
|
2 |
-
title: Nnamdi TTS
|
3 |
-
emoji: 🗣️
|
4 |
-
colorFrom: indigo
|
5 |
-
colorTo: blue
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 5.29.0
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
license: apache-2.0
|
11 |
-
---
|
12 |
|
13 |
-
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
-
|
|
|
|
|
|
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
-
|
|
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
- Runs inference on CPU (no GPU required)
|
28 |
-
|
29 |
-
## How It Works
|
30 |
-
|
31 |
-
1. Loads `yourvoice.wav` from the dataset
|
32 |
-
2. Uses it as reference voice for synthesis
|
33 |
-
3. Takes input text and language selection
|
34 |
-
4. Outputs generated speech using Gradio
|
35 |
-
|
36 |
-
## Usage
|
37 |
-
|
38 |
-
Just type your text, select a language, and hear the result.
|
39 |
-
|
40 |
-
## License
|
41 |
-
|
42 |
-
Apache-2.0
|
|
|
1 |
+
# Clone TTS Model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
+
This project is a simple **Text-to-Speech (TTS)** model built using TensorFlow, trained on the **Clone dataset**.
|
4 |
|
5 |
+
### Files
|
6 |
+
- `train.py`: Script to train the model.
|
7 |
+
- `infer.py`: Script to generate speech from text.
|
8 |
+
- `app.py`: Gradio interface for live testing.
|
9 |
+
- `data/`: Dataset folder containing audio files and transcriptions.
|
10 |
+
- `model/`: Folder to save the trained model.
|
11 |
|
12 |
+
### How to Train
|
13 |
+
1. Prepare your dataset in the `data/` folder.
|
14 |
+
2. Run `train.py` to train the model.
|
15 |
+
3. The trained model will be saved in the `model/` folder.
|
16 |
|
17 |
+
### How to Use Inference
|
18 |
+
1. Run `infer.py` to generate speech from text.
|
19 |
+
2. Optionally, use `app.py` for a Gradio interface.
|
20 |
|
21 |
+
### Requirements
|
22 |
+
- `requirements.txt`: Contains all the Python dependencies needed.
|
23 |
|
24 |
+
### License
|
25 |
+
This project is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|