Spaces:
Runtime error
Runtime error
Refactor README and app.py to streamline voice descriptions and remove outdated dependency information
Browse files
README.md
CHANGED
@@ -29,9 +29,6 @@ This Space provides a Gradio interface for the Kokoro TTS model, allowing users
|
|
29 |
- Zero GPU for efficient GPU resource management
|
30 |
- Dynamically loads required modules from hexgrad/Kokoro-82M repository
|
31 |
|
32 |
-
## Dependencies
|
33 |
-
- hexgrad/Kokoro-82M: Original model repository (core TTS functionality)
|
34 |
-
|
35 |
All dependencies are automatically handled:
|
36 |
- Core modules (kokoro.py, models.py, etc.) are downloaded from hexgrad/Kokoro-82M
|
37 |
- Model weights and voice files are cached in /data/.huggingface
|
@@ -44,20 +41,7 @@ All dependencies are automatically handled:
|
|
44 |
- Gradio 5.9.1
|
45 |
- A100 Zero GPU Enabled
|
46 |
|
47 |
-
## Available Voices
|
48 |
-
|
49 |
-
af: Default
|
50 |
-
af_sky: Classic
|
51 |
-
af_bella: Warm
|
52 |
-
af_nicole: Soothing
|
53 |
-
af_sarah: Polished
|
54 |
-
bf_emma: Contemplative
|
55 |
-
bf_isabella: Poised
|
56 |
|
57 |
-
am_adam: Resonant
|
58 |
-
am_michael: Sincere
|
59 |
-
bm_george: Distinguished
|
60 |
-
bm_lewis: Gravelly
|
61 |
|
62 |
## Notes
|
63 |
- Model Warm-Up takes some time, it shines at longer lengths.
|
|
|
29 |
- Zero GPU for efficient GPU resource management
|
30 |
- Dynamically loads required modules from hexgrad/Kokoro-82M repository
|
31 |
|
|
|
|
|
|
|
32 |
All dependencies are automatically handled:
|
33 |
- Core modules (kokoro.py, models.py, etc.) are downloaded from hexgrad/Kokoro-82M
|
34 |
- Model weights and voice files are cached in /data/.huggingface
|
|
|
41 |
- Gradio 5.9.1
|
42 |
- A100 Zero GPU Enabled
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
|
|
|
|
|
|
|
|
45 |
|
46 |
## Notes
|
47 |
- Model Warm-Up takes some time, it shines at longer lengths.
|
app.py
CHANGED
@@ -92,20 +92,13 @@ with gr.Blocks(title="Kokoro TTS Demo") as demo:
|
|
92 |
# Add voice descriptions
|
93 |
gr.Markdown("""
|
94 |
### Available Voices
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
- Michael (am_michael): Smooth and natural
|
103 |
-
- Young Female (bf):
|
104 |
-
- Emma (bf_emma): Sweet and cheerful
|
105 |
-
- Isabella (bf_isabella): Lively and expressive
|
106 |
-
- Young Male (bm):
|
107 |
-
- George (bm_george): Young and energetic
|
108 |
-
- Lewis (bm_lewis): Deep and confident
|
109 |
""")
|
110 |
|
111 |
# Add text analysis info
|
|
|
92 |
# Add voice descriptions
|
93 |
gr.Markdown("""
|
94 |
### Available Voices
|
95 |
+
| af [*default*] | am_adam [*resonant*] |
|
96 |
+
| af_sky [*classic*] | am_michael [*sincere*] |
|
97 |
+
| af_bella [*warm*] | bm_george [*distinguished*] |
|
98 |
+
| af_nicole [*soothing*] | bm_lewis [*gravelly*] |
|
99 |
+
| af_sarah [*polished*] | |
|
100 |
+
| bf_emma [*contemplative*] | |
|
101 |
+
| bf_isabella [*poised*] | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
""")
|
103 |
|
104 |
# Add text analysis info
|