chore: format

This commit is contained in:
Timothy J. Baek
2024-08-14 16:39:02 +02:00
parent 9f0c9d973c
commit 04e2b6e2bd
2 changed files with 96 additions and 89 deletions

View File

@@ -159,7 +159,7 @@
const res = await synthesizeOpenAISpeech(
localStorage.token,
$settings?.audio?.tts?.defaultVoice === $config.audio.tts.voice
? $settings?.audio?.tts?.voice ?? $config?.audio?.tts?.voice
? ($settings?.audio?.tts?.voice ?? $config?.audio?.tts?.voice)
: $config?.audio?.tts?.voice,
sentence
).catch((error) => {
@@ -766,7 +766,7 @@
100
) / 100
} tokens` ?? 'N/A'
}<br/>
}<br/>
prompt_token/s: ${
Math.round(
((message.info.prompt_eval_count ?? 0) /