Realiza varios ajustes para melhorar o tracking e o render de video
This commit is contained in:
@@ -107,6 +107,9 @@ class VideoPipeline:
|
||||
TranscriptionService.persist(transcription, context.workspace.workspace_dir)
|
||||
context.transcription = transcription
|
||||
|
||||
# Unload Whisper model immediately after transcription to free memory (1-3GB)
|
||||
self.transcriber.unload_model()
|
||||
|
||||
def _determine_highlights(self, context: PipelineContext) -> None:
|
||||
if not context.transcription:
|
||||
raise RuntimeError("Transcricao nao disponivel")
|
||||
|
||||
Reference in New Issue
Block a user