aichina commited on
Commit
4f921f8
1 Parent(s): 42f8b47
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def convert(res,openai_key):
49
 
50
  try:
51
  answer = ''
52
- for txt_line in split_list(content,20):
53
  txt_line_content = '\n'.join(txt_line)
54
  prompt = f"将下面的内容使用简体中文总结5条要点出来:\n\n{txt_line_content}"
55
  open_ai_res = create(prompt,openai_key)
 
49
 
50
  try:
51
  answer = ''
52
+ for txt_line in split_list(content,10):
53
  txt_line_content = '\n'.join(txt_line)
54
  prompt = f"将下面的内容使用简体中文总结5条要点出来:\n\n{txt_line_content}"
55
  open_ai_res = create(prompt,openai_key)