diff --git a/apps/web/src/pages/voices/VoiceLibrary.tsx b/apps/web/src/pages/voices/VoiceLibrary.tsx index 271fe6d06..25fffc98e 100755 --- a/apps/web/src/pages/voices/VoiceLibrary.tsx +++ b/apps/web/src/pages/voices/VoiceLibrary.tsx @@ -132,12 +132,16 @@ const VoiceLibrary: React.FC = () => { ttsText, ttsVoiceId, ttsSpeed, + ttsEmotion, + ttsLanguage, ttsStatus, ttsAudioUrl, ttsError, setTtsText, setTtsVoiceId, setTtsSpeed, + setTtsEmotion, + setTtsLanguage, setTtsOpen, handleTtsSynthesize, handleTtsSave, @@ -363,6 +367,8 @@ const VoiceLibrary: React.FC = () => { ttsText={ttsText} ttsVoiceId={ttsVoiceId} ttsSpeed={ttsSpeed} + ttsEmotion={ttsEmotion} + ttsLanguage={ttsLanguage} ttsStatus={ttsStatus} ttsAudioUrl={ttsAudioUrl} ttsError={ttsError} @@ -374,6 +380,8 @@ const VoiceLibrary: React.FC = () => { onTtsTextChange={setTtsText} onTtsVoiceChange={setTtsVoiceId} onTtsSpeedChange={setTtsSpeed} + onTtsEmotionChange={setTtsEmotion} + onTtsLanguageChange={setTtsLanguage} onTtsSynthesize={handleTtsSynthesize} onTtsSave={handleTtsSave} />