sarim commited on
Commit
185bc0f
·
1 Parent(s): 0c2d51b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
34
 
35
 
36
 
37
- def split_into_token_chunks(text: str, max_tokens: int = 3000) -> list:
38
  """
39
  Splits a long string into chunks of a specified maximum number of tokens (words).
40
 
 
34
 
35
 
36
 
37
+ def split_into_token_chunks(text: str, max_tokens: int = 300) -> list:
38
  """
39
  Splits a long string into chunks of a specified maximum number of tokens (words).
40