|
@@ -205,7 +205,7 @@ def run():
|
|
|
usage_info, text = str(response.usage_metadata).replace('\n', ', '), response.text.strip()
|
|
|
logger.info(f'[+] 使用情况: {usage_info}')
|
|
|
cleaned_text = text.replace("```json", '').replace("```", '').strip()
|
|
|
- AliyunLogger.logging( str(redis_task['video_id']), redis_task['title'], redis_task['video_path'], mark, redis_task['type'], redis_task['partition'], str(cleaned_text))
|
|
|
+ AliyunLogger.logging( str(redis_task['video_id']), redis_task['title'], redis_task['video_path'], str(mark), redis_task['type'], redis_task['partition'], str(cleaned_text))
|
|
|
logger.info(f'[+] 模型响应结果: {text}')
|
|
|
|
|
|
genai.delete_file(google_file)
|