Spaces:
Running
Running
comment code
Browse files
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 |
-
|
| 17 |
-
|
| 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')
|