🤩 Added custom openai tts models and role variables

This commit is contained in:
Yanyutin753
2024-05-06 15:23:27 +08:00
parent e92311b4eb
commit 761c66a8d8
34 changed files with 89 additions and 7 deletions
@@ -223,7 +223,8 @@
const res = await synthesizeOpenAISpeech(
localStorage.token,
$settings?.audio?.speaker,
sentence
sentence,
$settings?.audio?.OpenAIModel
).catch((error) => {
toast.error(error);