Emmylahot12 commited on
Commit
a775df8
·
verified ·
1 Parent(s): 898978b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -36
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
- # Nnamdi Text-to-Speech App
14
 
15
- This is a custom TTS (Text-to-Speech) app built using the Coqui XTTS v2 model and a custom voice dataset hosted on Hugging Face.
 
 
 
 
 
16
 
17
- ## Dataset
 
 
 
18
 
19
- - **Name**: `Emmylahot12/nnamdi`
20
- - Contains one voice sample: `data/train/yourvoice.wav`
21
- - Matched with transcription in `data/train/transcriptions.csv`
22
 
23
- ## Model
 
24
 
25
- - Uses the multilingual Coqui XTTS v2 model
26
- - Clones the voice from the uploaded dataset sample
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/).