|
@@ -46,6 +46,9 @@ class CoverMethod:
|
|
# gpt 评分
|
|
# gpt 评分
|
|
start_time = time.time()
|
|
start_time = time.time()
|
|
cover_all_data = CoverAnalyzer.cover_list_data(cover_list)
|
|
cover_all_data = CoverAnalyzer.cover_list_data(cover_list)
|
|
|
|
+ if not cover_all_data:
|
|
|
|
+ AliyunLogger.logging( video_id, "GPT评分失败", "3002", cover_all_data)
|
|
|
|
+ insert_pq_data( [video_id] )
|
|
end_time = time.time()
|
|
end_time = time.time()
|
|
execution_time = end_time - start_time
|
|
execution_time = end_time - start_time
|
|
print(f"代码运行时间: {execution_time:.4f} 秒")
|
|
print(f"代码运行时间: {execution_time:.4f} 秒")
|
|
@@ -142,4 +145,4 @@ class CoverMethod:
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
- CoverMethod.cover_method("30479284")
|
|
|
|
|
|
+ CoverMethod.cover_method("30488175")
|