sarim commited on
Commit
6368c40
·
1 Parent(s): 4a7b8ca

comment code

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,9 +12,9 @@ if uploaded_files is not None:
12
  bytes_data = uploaded_files.read()
13
  pdf_viewer(input=bytes_data)
14
  pdf_content = io.BytesIO(bytes_data)
15
- with pdfplumber.open(pdf_content) as pdf_file:
16
- for page in pdf_file.pages:
17
- print(page.extract_text())
18
 
19
 
20
  x = st.slider('Select a value')
 
12
  bytes_data = uploaded_files.read()
13
  pdf_viewer(input=bytes_data)
14
  pdf_content = io.BytesIO(bytes_data)
15
+ # with pdfplumber.open(pdf_content) as pdf_file:
16
+ # for page in pdf_file.pages:
17
+ # print(page.extract_text())
18
 
19
 
20
  x = st.slider('Select a value')