Spaces:
Sleeping
Sleeping
v33432
Browse files
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,
|
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)
|