cleanup after run
This commit is contained in:
parent
eb2d12a905
commit
9555dd920f
1 changed files with 1 additions and 1 deletions
|
@ -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"):
|
||||
|
|
Loading…
Reference in a new issue