Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ def generate_tts_audio(
|
|
| 85 |
|
| 86 |
print(f"Generating audio for text: '{text_input[:50]}...'")
|
| 87 |
wav = current_model.generate(
|
| 88 |
-
text_input[:
|
| 89 |
audio_prompt_path=audio_prompt_path_input,
|
| 90 |
exaggeration=exaggeration_input,
|
| 91 |
temperature=temperature_input,
|
|
|
|
| 85 |
|
| 86 |
print(f"Generating audio for text: '{text_input[:50]}...'")
|
| 87 |
wav = current_model.generate(
|
| 88 |
+
text_input[:3000], # Truncate text to max chars
|
| 89 |
audio_prompt_path=audio_prompt_path_input,
|
| 90 |
exaggeration=exaggeration_input,
|
| 91 |
temperature=temperature_input,
|