fb700 commited on
Commit
2ab59ba
1 Parent(s): 55a2106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -588,7 +588,7 @@ redBookins = """
588
 
589
  """
590
  '''
591
- redBookins="请你用最华丽、最真诚和最有感情的语言祝:顺欣妈妈、昊昊爸爸、昊昊生日快乐!请大量的使用🎂、❤️、💖、🥳、🥂、🎈、🎊、🎉、🎁、🍾等表示庆祝的的Emoji"
592
  def redBook(
593
  user_input, chatbot, max_length, top_p, temperature, history, past_key_values
594
  ):
@@ -803,8 +803,8 @@ def GGSearch(
803
  chatbot.append(("联网搜索结果:", GGSearchins))
804
  history.append(("联网搜索结果:", GGSearchins))
805
  ggins1="请围用户搜索主题,对搜索结果进行全面的总结。\n用户搜索主题:"
806
- user_input =ggins1+ user_input+ "\n搜索结果:\n"+ GGSearchins
807
-
808
  # 继续正常的 GPT 对话流程
809
  yield from predict(
810
  RETRY_FLAG,
 
588
 
589
  """
590
  '''
591
+ redBookins="请你用最华丽、最真诚和最有感情的语言祝:顺欣妈妈、昊昊爸爸、昊昊生日快乐!请在每句话大量的使用🎂、❤️、💖、🥳、🥂、🎈、🎊、🎉、🎁、🍾等表示庆祝的的Emoji"
592
  def redBook(
593
  user_input, chatbot, max_length, top_p, temperature, history, past_key_values
594
  ):
 
803
  chatbot.append(("联网搜索结果:", GGSearchins))
804
  history.append(("联网搜索结果:", GGSearchins))
805
  ggins1="请围用户搜索主题,对搜索结果进行全面的总结。\n用户搜索主题:"
806
+ #user_input =ggins1+ user_input+ "\n搜索结果:\n"+ GGSearchins
807
+ user_input= "请你尽量用简洁的语言总结下面的内容"+ GGSearchins
808
  # 继续正常的 GPT 对话流程
809
  yield from predict(
810
  RETRY_FLAG,