SebastianBodza commited on
Commit
b5cf7f2
·
verified ·
1 Parent(s): 8d3d225

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -96,14 +96,14 @@ def generate_tts_audio(
96
  with gr.Blocks() as demo:
97
  gr.Markdown(
98
  """
99
- # Chatterbox TTS Demo
100
  Generate high-quality speech from text with reference audio styling.
101
  """
102
  )
103
  with gr.Row():
104
  with gr.Column():
105
  text = gr.Textbox(
106
- value="Now let's make my mum's favourite. So three mars bars into the pan. Then we add the tuna and just stir for a bit, just let the chocolate and fish infuse. A sprinkle of olive oil and some tomato ketchup. Now smell that. Oh boy this is going to be incredible.",
107
  label="Text to synthesize (max chars 300)",
108
  max_lines=5
109
  )
@@ -117,12 +117,12 @@ with gr.Blocks() as demo:
117
  0.25, 2, step=.05, label="Exaggeration (Neutral = 0.5, extreme values can be unstable)", value=.5
118
  )
119
  cfg_weight = gr.Slider(
120
- 0.2, 1, step=.05, label="CFG/Pace", value=0.5
121
  )
122
 
123
  with gr.Accordion("More options", open=False):
124
  seed_num = gr.Number(value=0, label="Random seed (0 for random)")
125
- temp = gr.Slider(0.05, 5, step=.05, label="Temperature", value=.8)
126
 
127
  run_btn = gr.Button("Generate", variant="primary")
128
 
 
96
  with gr.Blocks() as demo:
97
  gr.Markdown(
98
  """
99
+ # Kartoffel-TTS (Based on Chatterbox) - German Text-to-Speech Demo
100
  Generate high-quality speech from text with reference audio styling.
101
  """
102
  )
103
  with gr.Row():
104
  with gr.Column():
105
  text = gr.Textbox(
106
+ value="Tief im verwunschenen Wald, wo die Bäume uralte Geheimnisse flüsterten, lebte ein kleiner Gnom namens Fips, der die Sprache der Tiere verstand.",
107
  label="Text to synthesize (max chars 300)",
108
  max_lines=5
109
  )
 
117
  0.25, 2, step=.05, label="Exaggeration (Neutral = 0.5, extreme values can be unstable)", value=.5
118
  )
119
  cfg_weight = gr.Slider(
120
+ 0.2, 1, step=.05, label="CFG/Pace", value=0.3
121
  )
122
 
123
  with gr.Accordion("More options", open=False):
124
  seed_num = gr.Number(value=0, label="Random seed (0 for random)")
125
+ temp = gr.Slider(0.05, 5, step=.05, label="Temperature", value=.6)
126
 
127
  run_btn = gr.Button("Generate", variant="primary")
128