: }
text={
speechLoading
? "Loading..."
: speechStatus
? Locale.Chat.Actions.Stop
: Locale.Chat.Actions.Speech
}
onClick={() => {
speechStatus
? (ttsPlayer.stop(), setSpeechStatus(false))
: openaiSpeech(
"NextChat,Unleash your imagination, experience the future of AI conversation.",
);
}}
/>