quyip commited on
Commit
5ff9f10
·
1 Parent(s): a45c805
Files changed (1) hide show
  1. utils/summary_utils.py +1 -0
utils/summary_utils.py CHANGED
@@ -12,6 +12,7 @@ text_to_tags_pipe = pipeline('text2text-generation', model='models/text2tags')
12
  def summarize(id: str, text: str):
13
  print('=================')
14
  print(id)
 
15
  if text is None or len(text) < 10:
16
  return {
17
  "ver": AiSummaryVersion
 
12
  def summarize(id: str, text: str):
13
  print('=================')
14
  print(id)
15
+ print(text)
16
  if text is None or len(text) < 10:
17
  return {
18
  "ver": AiSummaryVersion