cleanup after run

This commit is contained in:
j 2025-01-27 12:24:17 +05:30
parent eb2d12a905
commit 9555dd920f

View file

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