VMORnD commited on
Commit
471175f
1 Parent(s): ab98393

Update core.py

Browse files
Files changed (1) hide show
  1. core.py +1 -0
core.py CHANGED
@@ -74,6 +74,7 @@ def text_summarize_vi(text_input):
74
  return text
75
 
76
  def text_summarize(text_input, lang):
 
77
  if lang == 'English':
78
  return text_summarize_en(text_input)
79
  elif lang == 'Vietnamese':
74
  return text
75
 
76
  def text_summarize(text_input, lang):
77
+ if (len(text_input) <= 100): return text_input
78
  if lang == 'English':
79
  return text_summarize_en(text_input)
80
  elif lang == 'Vietnamese':