Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

fix speaker diagnostic lint

altic-dev22bbdf884670
diff --git a/Sources/Fluid/Services/MeetingTranscriptionService.swift b/Sources/Fluid/Services/MeetingTranscriptionService.swift
index 7e4582a3..2f84cf55 100644
--- a/Sources/Fluid/Services/MeetingTranscriptionService.swift
+++ b/Sources/Fluid/Services/MeetingTranscriptionService.swift
@@ -172,7 +172,14 @@ nonisolated enum SpeakerLabeledTranscriptionPolicy {
gaps: gaps,
diarizedDurationSeconds: diarizedDurationSeconds
)
- return "Speaker labeling omitted too much audio (gaps=\(coverage.gapCount), skipped=\(String(format: "%.3f", coverage.skippedDurationSeconds))s, maxGap=\(String(format: "%.3f", coverage.maxGapDurationSeconds))s, diarized=\(String(format: "%.3f", coverage.diarizedDurationSeconds))s, ratio=\(String(format: "%.4f", coverage.skippedRatio)))"
+ return String(
+ format: "Speaker labeling omitted too much audio (gaps=%d, skipped=%.3fs, maxGap=%.3fs, diarized=%.3fs, ratio=%.4f)",
+ coverage.gapCount,
+ coverage.skippedDurationSeconds,
+ coverage.maxGapDurationSeconds,
+ coverage.diarizedDurationSeconds,
+ coverage.skippedRatio
+ )
}
static func limitationNotice(for gaps: [SpeakerTranscriptGap]) -> String? {