peter2000 commited on
Commit
11cb408
1 Parent(s): fa6710b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def read_(file):
22
  for page in pdf.pages:
23
  text.append(page.extract_text())
24
  text_str = ' '.join([page for page in text])
25
- st.write('Document:', pdf.metadata
26
  st.write('Number of pages:',len(pdf.pages))
27
  pdf.close()
28
  return text_str
 
22
  for page in pdf.pages:
23
  text.append(page.extract_text())
24
  text_str = ' '.join([page for page in text])
25
+ st.write('Document:', pdf.metadata)
26
  st.write('Number of pages:',len(pdf.pages))
27
  pdf.close()
28
  return text_str