Skip to content

Commit

Permalink
Fix broken transcript parsing (stop limiting to 100 lines)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdowney committed Nov 28, 2023
1 parent 380f376 commit 3986cbf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lib/transcriptHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ const enrichTranscriptatorResult = (parsedTranscript: TranscriptRow[]) => {
const enrichedTranscript = []
let newIndex = 0

const limitLines = 100
let limitCount = 0

for (const parsedRow of parsedTranscript) {
limitCount++
if (limitLines < limitCount) break

const body = parsedRow.body || ''
const hasSpeaker = !!parsedRow.speaker

Expand Down

0 comments on commit 3986cbf

Please sign in to comment.