Seetha commited on
Commit
d80a0b7
1 Parent(s): 1780adc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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: