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