Remove cleanup state
This commit is contained in:
parent
2ea220dfed
commit
620b3a8d3b
@ -81,7 +81,6 @@ class ParakeetTranscriptionService: TranscriptionService {
|
|||||||
|
|
||||||
// Reset decoder state and cleanup after transcription to avoid blocking the transcription start
|
// Reset decoder state and cleanup after transcription to avoid blocking the transcription start
|
||||||
Task {
|
Task {
|
||||||
try? await asrManager.resetDecoderState(for: .microphone)
|
|
||||||
asrManager.cleanup()
|
asrManager.cleanup()
|
||||||
isModelLoaded = false
|
isModelLoaded = false
|
||||||
logger.notice("🦜 Parakeet ASR models cleaned up from memory")
|
logger.notice("🦜 Parakeet ASR models cleaned up from memory")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user