dromerosm commited on
Commit
9c0af1d
1 Parent(s): e45effa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ def text_prompt(request, system_role, page_url, contraseña, temp):
31
  for sentence in sentences:
32
  tokens.extend(tokenizer.tokenize(sentence))
33
 
34
- # Trim text to a maximum of 3000 tokens
35
- if len(tokens) > 3000:
36
  break
37
  page_text += sentence + ". "
38
 
 
31
  for sentence in sentences:
32
  tokens.extend(tokenizer.tokenize(sentence))
33
 
34
+ # Trim text to a maximum of 3100 tokens
35
+ if len(tokens) > 3100:
36
  break
37
  page_text += sentence + ". "
38