Spaces:
Paused
Paused
Update tts_interface.py
Browse files- tts_interface.py +1 -1
tts_interface.py
CHANGED
|
@@ -72,7 +72,7 @@ class ElevenLabsTTS(TTSInterface):
|
|
| 72 |
"""Convert text to speech using ElevenLabs API"""
|
| 73 |
|
| 74 |
# Preprocess text
|
| 75 |
-
processed_text = self.preprocessor.
|
| 76 |
|
| 77 |
# Use defaults if not provided
|
| 78 |
voice_id = voice_id or self.default_voice_id
|
|
|
|
| 72 |
"""Convert text to speech using ElevenLabs API"""
|
| 73 |
|
| 74 |
# Preprocess text
|
| 75 |
+
processed_text = self.preprocessor.preprocess(text, self.preprocessing_flags)
|
| 76 |
|
| 77 |
# Use defaults if not provided
|
| 78 |
voice_id = voice_id or self.default_voice_id
|