Fix tts audition (#4637)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM> Co-authored-by: crazywoola <427733928@qq.com> Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
This commit is contained in:
@@ -375,6 +375,7 @@ const Answer: FC<IAnswerProps> = ({
|
||||
<div className='mx-1 w-[1px] h-[14px] bg-gray-200'/>
|
||||
<AudioBtn
|
||||
value={content}
|
||||
noCache={false}
|
||||
className={cn(s.playBtn)}
|
||||
/>
|
||||
</>
|
||||
|
||||
@@ -41,13 +41,14 @@ const TextToSpeech: FC = () => {
|
||||
<AudioBtn
|
||||
value={languageInfo?.example}
|
||||
voice={voiceItem?.value}
|
||||
isAudition={true}
|
||||
isAudition
|
||||
noCache
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
}
|
||||
noBodySpacing
|
||||
isShowTextToSpeech={true}
|
||||
isShowTextToSpeech
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -422,6 +422,7 @@ const GenerationItem: FC<IGenerationItemProps> = ({
|
||||
<div className='ml-2 mr-2 h-[14px] w-[1px] bg-gray-200'></div>
|
||||
<AudioBtn
|
||||
value={content}
|
||||
noCache={false}
|
||||
className={'mr-1'}
|
||||
/>
|
||||
</>
|
||||
|
||||
@@ -78,6 +78,7 @@ const SavedItems: FC<ISavedItemsProps> = ({
|
||||
<div className='ml-2 mr-2 h-[14px] w-[1px] bg-gray-200'></div>
|
||||
<AudioBtn
|
||||
value={answer}
|
||||
noCache={false}
|
||||
className={'mr-1'}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user