Yaron Koresh commited on
Commit
685e8ef
·
verified ·
1 Parent(s): 9368cf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1181,7 +1181,7 @@ class GoogleTranslator(BaseTranslator):
1181
  @param text: desired text to translate
1182
  @return: str: translated text
1183
  """
1184
- if is_input_valid(text, max_chars=1000):
1185
  text = text.strip()
1186
  if self._same_source_target() or is_empty(text):
1187
  return text
 
1181
  @param text: desired text to translate
1182
  @return: str: translated text
1183
  """
1184
+ if is_input_valid(text, max_chars=5000):
1185
  text = text.strip()
1186
  if self._same_source_target() or is_empty(text):
1187
  return text