jihuaqiang 1 月之前
父節點
當前提交
0d6814ec0c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      content_indentify/indentify.py

+ 1 - 1
content_indentify/indentify.py

@@ -202,7 +202,7 @@ class ContentIdentifier:
             if isinstance(video_analysis, list):
                 for video_item in video_analysis:
                     if isinstance(video_item, dict) and 'asr_content' in video_item:
-                        if '视频上传失败' in (video_item.get('asr_content') or 'ASR分析失败' in (video_item.get('asr_content') or ''):
+                        if '视频上传失败' in (video_item.get('asr_content') or '') or 'ASR分析失败' in (video_item.get('asr_content') or ''):
                             video_upload_failed = True
                             break
             elif isinstance(video_analysis, dict):