NeuralFalcon commited on
Commit
ed74e8e
·
verified ·
1 Parent(s): 618f849

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
  import tempfile
3
  import uuid
@@ -116,9 +117,9 @@ with gr.Blocks(title="KittenTTS - Text to Speech", theme=gr.themes.Soft()) as ap
116
  gr.Markdown("## 📝 Example Texts")
117
  gr.Examples(
118
  examples=[
119
- ["Hello! This is a test of the KittenTTS model.", available_voices[0], 1.25],
120
- ["The quick brown fox jumps over the lazy dog.", available_voices[0], 1.5],
121
- ["Welcome to the world of high-quality text-to-speech synthesis!", available_voices[0], 1.0],
122
  ],
123
  inputs=[text_input, voice_dropdown, speed_slider],
124
  outputs=[audio_output],
 
1
+ #copied from https://huggingface.co/spaces/KingNish/Kitten-TTS & Modified to handle large text input.
2
  import gradio as gr
3
  import tempfile
4
  import uuid
 
117
  gr.Markdown("## 📝 Example Texts")
118
  gr.Examples(
119
  examples=[
120
+ ["Hello! This is a test of the KittenTTS model.", available_voices[0], 1],
121
+ ["The quick brown fox jumps over the lazy dog.", available_voices[0], 1.25],
122
+ ["Welcome to the world of high-quality text-to-speech synthesis!", available_voices[0], 1.5],
123
  ],
124
  inputs=[text_input, voice_dropdown, speed_slider],
125
  outputs=[audio_output],