Browse Source

优化标题

zhangyong 7 months ago
parent
commit
bc778b9f6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/gpt4o_help.py

+ 1 - 1
common/gpt4o_help.py

@@ -107,7 +107,7 @@ class GPT4o():
                     if match == 'None':
                         return "这个视频,分享给我的老友,祝愿您能幸福安康"
                     title = match.group(1)
-                    if '原标题无法按照规则生成新标题' in title or '原标题不符合生成新标题的要求,请提供符合要求的原标题' in title or 'Invalid input format' in title or "很抱歉,您提供的原标题没有包含在上下文中。请提供具体的原标题列表,以便我为您生成新的标题。" in title or "对不起,我的职责是优化短视频标题" in title:
+                    if '原标题无法按照规则生成新标题' in title or '原标题不符合生成新标题的要求,请提供符合要求的原标题' in title or 'Invalid input format' in title or "很抱歉,您提供的原标题没有包含在上下文中。请提供具体的原标题列表,以便我为您生成新的标题。" in title or "对不起,我的职责是优化短视频标题" in title or "请提供需要优化的原标题列表。" in title:
                         return "这个视频,分享给我的老友,祝愿您能幸福安康"
                     return title
                 else: