From c23ea0c27f131deba571336061b9069f3c05ab4c Mon Sep 17 00:00:00 2001 From: Ali Zand Date: Wed, 22 May 2024 21:42:26 -0600 Subject: [PATCH] Allow Serialization --- Sources/SwiftWhisper/Segment.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftWhisper/Segment.swift b/Sources/SwiftWhisper/Segment.swift index 110f014..c984913 100644 --- a/Sources/SwiftWhisper/Segment.swift +++ b/Sources/SwiftWhisper/Segment.swift @@ -1,6 +1,6 @@ import Foundation -public struct Segment: Equatable { +public struct Segment: Equatable, Codable { public let startTime: Int public let endTime: Int public let text: String