Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -96,14 +96,14 @@ def generate_tts_audio(
|
|
96 |
with gr.Blocks() as demo:
|
97 |
gr.Markdown(
|
98 |
"""
|
99 |
-
# Chatterbox
|
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="
|
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.
|
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=.
|
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 |
|