Update app.py
Browse files
app.py
CHANGED
@@ -48,6 +48,8 @@ text_list = []
|
|
48 |
target_url = 'https://huggingface.co/datasets/Seetha/Visualization/raw/main/AFLAC_Wyatt_notag.pdf'
|
49 |
if st.button('PDF1'):
|
50 |
data = urllib.request.urlopen(target_url)
|
|
|
|
|
51 |
if data is not None:
|
52 |
reader = PdfReader(data)
|
53 |
for page in reader.pages:
|
|
|
48 |
target_url = 'https://huggingface.co/datasets/Seetha/Visualization/raw/main/AFLAC_Wyatt_notag.pdf'
|
49 |
if st.button('PDF1'):
|
50 |
data = urllib.request.urlopen(target_url)
|
51 |
+
for line in data:
|
52 |
+
st.write(line)
|
53 |
if data is not None:
|
54 |
reader = PdfReader(data)
|
55 |
for page in reader.pages:
|