Eunchan Lee commited on
Commit
ce63843
1 Parent(s): f108023
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def load_zeroshot_classifier():
41
 
42
  def get_summarizer(summarizer, sequence:str, maximum_tokens:int, minimum_tokens:int):
43
  output = summarizer(sequence, num_beams=4, max_length=maximum_tokens, min_length=minimum_tokens, do_sample=False)
44
-
45
  return output[0].get('summary_text')
46
 
47
 
 
41
 
42
  def get_summarizer(summarizer, sequence:str, maximum_tokens:int, minimum_tokens:int):
43
  output = summarizer(sequence, num_beams=4, max_length=maximum_tokens, min_length=minimum_tokens, do_sample=False)
44
+
45
  return output[0].get('summary_text')
46
 
47