From 9555dd920f8ae00d5de18084b063966714fa80cc Mon Sep 17 00:00:00 2001 From: j Date: Mon, 27 Jan 2025 12:24:17 +0530 Subject: [PATCH] cleanup after run --- transcribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcribe.py b/transcribe.py index 58520bd..5085a9d 100644 --- a/transcribe.py +++ b/transcribe.py @@ -138,7 +138,7 @@ def run_whisper(src, language=None, translate=False, gpu=False, model="small", d with open(output) as fd: response = json.load(fd) - #shutil.rmtree(tmp) + shutil.rmtree(tmp) return response def extract_subtitles(item, user, layer, translate, gpu=False, join_sentences=False, model="small"):