Spaces:
Runtime error
Runtime error
Updated app.py
Browse files
app.py
CHANGED
|
@@ -88,21 +88,14 @@ with gr.Blocks(title="Kokoro TTS Demo") as demo:
|
|
| 88 |
inputs=[text_input, voice_dropdown, speed_slider],
|
| 89 |
outputs=[audio_output, duration_text]
|
| 90 |
)
|
| 91 |
-
|
| 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
|
| 101 |
with gr.Row():
|
| 102 |
with gr.Column():
|
| 103 |
gr.Markdown("""
|
| 104 |
### Demo Text Info
|
| 105 |
-
The
|
| 106 |
""")
|
| 107 |
|
| 108 |
# Launch the app
|
|
|
|
| 88 |
inputs=[text_input, voice_dropdown, speed_slider],
|
| 89 |
outputs=[audio_output, duration_text]
|
| 90 |
)
|
| 91 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
# Add text analysis info
|
| 94 |
with gr.Row():
|
| 95 |
with gr.Column():
|
| 96 |
gr.Markdown("""
|
| 97 |
### Demo Text Info
|
| 98 |
+
The preloaded text is from H.G. Wells' "The Time Machine" (Public Domain)
|
| 99 |
""")
|
| 100 |
|
| 101 |
# Launch the app
|