Toya0421 commited on
Commit
1226c46
·
verified ·
1 Parent(s): 05103a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ Rewrite the following passage so it fits about {target_flesch} Flesch Reading Ea
114
  return resp.choices[0].message.content.strip()
115
 
116
 
117
- def split_pages(text, words=120):
118
  w = text.split()
119
  return [" ".join(w[i:i+words]) for i in range(0, len(w), words)] or [text]
120
 
 
114
  return resp.choices[0].message.content.strip()
115
 
116
 
117
+ def split_pages(text, words=300):
118
  w = text.split()
119
  return [" ".join(w[i:i+words]) for i in range(0, len(w), words)] or [text]
120