Force alignment for tts audio (#418)
* add originalText as param * save original text when added from tts speech * fix player in conversation sheet * minor fix
This commit is contained in:
@@ -72,6 +72,7 @@ export const MediaCurrentRecording = (props: { height?: number }) => {
|
||||
|
||||
const removeComparingPitchContour = () => {
|
||||
if (!wavesurfer) return;
|
||||
if (!regions) return;
|
||||
|
||||
regions
|
||||
.getRegions()
|
||||
|
||||
@@ -72,7 +72,7 @@ export const MediaTranscription = () => {
|
||||
} as ScrollIntoViewOptions);
|
||||
}, [currentSegmentIndex, transcription, containerRef]);
|
||||
|
||||
if (!transcription?.result) {
|
||||
if (!transcription?.result?.timeline) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user