momo commited on
Commit
fb6a0fa
1 Parent(s): eb33260
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,7 +17,8 @@ def summarization(News, Summary):
17
 
18
  for result in summarizer(News):
19
  print(result)
20
- return result[0]["summary_text"]
 
21
 
22
  if __name__ == '__main__':
23
 
 
17
 
18
  for result in summarizer(News):
19
  print(result)
20
+
21
+ return result["summary_text"]
22
 
23
  if __name__ == '__main__':
24