d0r1h commited on
Commit
3d3dd88
1 Parent(s): 03a0bf6

Update summarizer.py

Browse files
Files changed (1) hide show
  1. summarizer.py +1 -1
summarizer.py CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
5
 
6
  def summarize(input_, model):
7
  if input_.split("/")[0] == "https:":
8
- text = extract_text(input)
9
  else:
10
  text = input_
11
 
 
5
 
6
  def summarize(input_, model):
7
  if input_.split("/")[0] == "https:":
8
+ text = extract_text(input_)
9
  else:
10
  text = input_
11