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"):