ArissBandoss commited on
Commit
6b82660
·
verified ·
1 Parent(s): 585f2eb

Update goai_helpers/goai_traduction.py

Browse files
Files changed (1) hide show
  1. goai_helpers/goai_traduction.py +1 -1
goai_helpers/goai_traduction.py CHANGED
@@ -9,7 +9,7 @@ max_length = 512
9
  auth_token = os.getenv('HF_SPACE_TOKEN')
10
  login(token=auth_token)
11
 
12
- def split_text_intelligently(text, max_chunk_length=100):
13
  """
14
  Divise le texte en chunks en respectant les phrases complètes.
15
  """
 
9
  auth_token = os.getenv('HF_SPACE_TOKEN')
10
  login(token=auth_token)
11
 
12
+ def split_text_intelligently(text, max_chunk_length=80):
13
  """
14
  Divise le texte en chunks en respectant les phrases complètes.
15
  """