liqian 1 year ago
parent
commit
953a3219ba
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 1 1
      ai_tag_task.py

+ 1 - 0
.gitignore

@@ -62,4 +62,5 @@ videos/
 logs/
 .idea/
 .DS_Store
+asr_res/
 

+ 1 - 1
ai_tag_task.py

@@ -178,7 +178,7 @@ def ai_tags_new(project, table, dt):
     retry = 0
     while retry < 30:
         asr_file_list = os.listdir(asr_folder)
-        if len(asr_file_list) < 2:
+        if len(asr_file_list) < 1:
             retry += 1
             time.sleep(60)
             continue