Skip to content

Commit

Permalink
Update VoiceChatViewModel.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
alfianlosari authored Jun 8, 2024
1 parent fe11a97 commit 7196e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ChatGPTUI/ViewModels/VoiceChatViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ open class VoiceChatViewModel<CustomContent: View>: NSObject, AVAudioRecorderDel
state.idleResponse ?? state.playingSpeechResponse
}

var selectedVoice = VoiceType.alloy
public var selectedVoice = VoiceType.alloy
var audioPlayer: AVAudioPlayer!
var audioRecorder: AVAudioRecorder!
#if !os(macOS)
Expand Down

0 comments on commit 7196e50

Please sign in to comment.