Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def generate_tts_audio(
|
|
96 |
|
97 |
print(f"Generating audio for text: '{text_input[:50]}...'")
|
98 |
wav = current_model.generate(
|
99 |
-
text_input
|
100 |
audio_prompt_path=audio_prompt_path_input,
|
101 |
exaggeration=exaggeration_input,
|
102 |
temperature=temperature_input,
|
|
|
96 |
|
97 |
print(f"Generating audio for text: '{text_input[:50]}...'")
|
98 |
wav = current_model.generate(
|
99 |
+
text_input, # Truncate text to max chars
|
100 |
audio_prompt_path=audio_prompt_path_input,
|
101 |
exaggeration=exaggeration_input,
|
102 |
temperature=temperature_input,
|