Added the "locale" parameter to the initializer for the AudioTranscribingService service in the Recording package target.
This commit is contained in:
@@ -12,7 +12,9 @@ struct DummyTranscribingService: TranscribingService {
|
||||
///
|
||||
/// - Parameter audio: The recorded audio to transcribe.
|
||||
/// - Returns: A dummy transcription.
|
||||
func transcribe(_ audio: Data) async throws -> String {
|
||||
func transcribe(
|
||||
_ audio: Data
|
||||
) async throws -> String {
|
||||
try await Task.sleep(for: Constant.Delay.transcribing)
|
||||
|
||||
return Constant.Text.transcription
|
||||
|
||||
Reference in New Issue
Block a user