@@ -311,6 +311,7 @@ class GenerateTextFromVideo(object):
os.remove(video_local_path)
self.google_ai_api.delete_video(file_name)
+ task_list.remove(task)
tqdm.write("video process failed, delete local file")
time.sleep(const.SLEEP_SECONDS)