Omnibus commited on
Commit
1c5b68c
·
1 Parent(s): b7f89cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -26,6 +26,7 @@ def scrape00(instring, page_num):
26
  number_of_pages = len(reader.pages)
27
  page = reader.pages[int(page_num)-1]
28
  text = page.extract_text()
 
29
  try:
30
  summarizer = gr.Interface.load("huggingface/facebook/bart-large-cnn")
31
  sum_out = summarizer(text)
 
26
  number_of_pages = len(reader.pages)
27
  page = reader.pages[int(page_num)-1]
28
  text = page.extract_text()
29
+ print (text)
30
  try:
31
  summarizer = gr.Interface.load("huggingface/facebook/bart-large-cnn")
32
  sum_out = summarizer(text)