quyip commited on
Commit
fd9b289
·
1 Parent(s): 858ef45
Files changed (1) hide show
  1. utils/summary_utils.py +1 -1
utils/summary_utils.py CHANGED
@@ -20,7 +20,7 @@ def summarize(id: str, text: str):
20
  "ver": AiSummaryVersion
21
  }
22
  summary = get_summarization(text) if len(text) > 100 else text
23
- translated = get_en_translation(summary)
24
  tags = get_tags(translated, id)
25
  tags = filter_tags(tags)
26
  tags = sorted(list(set(tags)))
 
20
  "ver": AiSummaryVersion
21
  }
22
  summary = get_summarization(text) if len(text) > 100 else text
23
+ translated = get_en_translation(text)
24
  tags = get_tags(translated, id)
25
  tags = filter_tags(tags)
26
  tags = sorted(list(set(tags)))