Spaces:
Running
on
Zero
Running
on
Zero
Updated README.md and app.py
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Kokoro TTS Zero
|
3 |
-
emoji:
|
4 |
colorFrom: gray
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
|
|
1 |
---
|
2 |
title: Kokoro TTS Zero
|
3 |
+
emoji: 🎴
|
4 |
colorFrom: gray
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
app.py
CHANGED
@@ -92,13 +92,9 @@ with gr.Blocks(title="Kokoro TTS Demo") as demo:
|
|
92 |
# Add voice descriptions
|
93 |
gr.Markdown("""
|
94 |
### Available Voices
|
95 |
-
| af [*default*] | am_adam [*resonant*] |
|
96 |
-
|
|
97 |
-
|
|
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
|
@@ -108,12 +104,6 @@ with gr.Blocks(title="Kokoro TTS Demo") as demo:
|
|
108 |
### Demo Text Info
|
109 |
The demo text is loaded from H.G. Wells' "The Time Machine". This classic text demonstrates the system's ability to handle long-form content through chunking.
|
110 |
""")
|
111 |
-
|
112 |
-
text_stats = gr.Textbox(
|
113 |
-
label="Text Statistics",
|
114 |
-
interactive=False,
|
115 |
-
value=f"Characters: {len(open('the_time_machine_hgwells.txt').read())}\nEstimated chunks: {len(open('the_time_machine_hgwells.txt').read()) // 300 + 1}"
|
116 |
-
)
|
117 |
|
118 |
# Launch the app
|
119 |
if __name__ == "__main__":
|
|
|
92 |
# Add voice descriptions
|
93 |
gr.Markdown("""
|
94 |
### Available Voices
|
95 |
+
| af [*default*] | am_adam [*resonant*] | af_sky [*classic*] | am_michael [*sincere*] |
|
96 |
+
| af_bella [*warm*] | bm_george [*distinguished*] | af_nicole [*soothing*] | bm_lewis [*gravelly*] |
|
97 |
+
| af_sarah [*polished*] | bf_emma [*contemplative*] | bf_isabella [*poised*] | |
|
|
|
|
|
|
|
|
|
98 |
""")
|
99 |
|
100 |
# Add text analysis info
|
|
|
104 |
### Demo Text Info
|
105 |
The demo text is loaded from H.G. Wells' "The Time Machine". This classic text demonstrates the system's ability to handle long-form content through chunking.
|
106 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
# Launch the app
|
109 |
if __name__ == "__main__":
|