Preloading audio for Edge TTS and other fixes (#138)

* Blacklist some low-quality web tts voices

* Dropdown layout tweaks

* Handle no audio data received in Edge TTS

* Preloading audio for Edge TTS
This commit is contained in:
Huang Xin
2025-01-10 14:11:09 +01:00
committed by GitHub
parent 7402141237
commit 00003a9415
11 changed files with 210 additions and 31 deletions
@@ -62,7 +62,7 @@ const FontDropdown: React.FC<DropdownProps> = ({
>
{moreOptions.map((option) => (
<li key={option} onClick={() => onSelect(option)}>
<div className='flex items-center px-0'>
<div className='flex items-center px-2'>
<span style={{ minWidth: '20px' }}>
{selected === option && <MdCheck size={20} className='text-base-content' />}
</span>