Report audio, speaker, and artifact work progress
This commit is contained in:
@@ -59,6 +59,13 @@ func (transcribeStage) Run(ctx context.Context, env *Env, m *manifest.Manifest)
|
||||
return nil, fmt.Errorf("transcribe: checkpoint reconciled speaker collection before execution: %w", err)
|
||||
}
|
||||
|
||||
for _, job := range reconciliation.jobs {
|
||||
if record, ok := reconciliation.current[job.speakerID]; ok {
|
||||
env.Info("speaker transcription reuse decision", "speaker", job.speakerID, "output", record.Output.LocalPath)
|
||||
env.Progress("reusing speaker transcription", "speaker", job.speakerID)
|
||||
}
|
||||
}
|
||||
|
||||
jobs := append([]transcribeReconciliationJob(nil), reconciliation.work...)
|
||||
if len(jobs) > 0 && env.WhisperX == nil {
|
||||
return nil, fmt.Errorf("transcribe: whisperx adapter is required")
|
||||
|
||||
Reference in New Issue
Block a user