Skip to content

Commit aebd907

Browse files
committed
Reenable TTS
1 parent d61c214 commit aebd907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/voice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def run_tts(self):
9292
tts_path = models.get_tts_path()
9393
if tts_path:
9494
models.common.append_added_model(self.message_element.get_root(), models.speech.TextToSpeechModelButton(os.path.join(tts_path, voice + '.pt')))
95-
return
95+
9696
# Generate TTS_ENGINE if needed
9797
if not tts_engine or tts_engine_language != voice[0]:
9898
tts_engine = libraries.get('kokoro').KPipeline(lang_code=voice[0], repo_id='hexgrad/Kokoro-82M')

0 commit comments

Comments
 (0)