use default configs from upstream for parakeet
This commit is contained in:
parent
2aac1020f8
commit
2ea220dfed
@ -26,10 +26,8 @@ class ParakeetTranscriptionService: TranscriptionService {
|
||||
logger.notice("🦜 Starting Parakeet model loading")
|
||||
|
||||
do {
|
||||
let tdtConfig = TdtConfig(maxSymbolsPerStep: 3, durationBins: [0, 1, 2, 3, 4])
|
||||
let asrConfig = ASRConfig(tdtConfig: tdtConfig)
|
||||
asrManager = AsrManager(config: asrConfig)
|
||||
|
||||
|
||||
asrManager = AsrManager(config: .default)
|
||||
let models: AsrModels
|
||||
if let customDirectory = customModelsDirectory {
|
||||
logger.notice("🦜 Loading models from custom directory: \(customDirectory.path)")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user