Seetha commited on
Commit
f3c9bcd
1 Parent(s): 1e1c641

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,11 +41,11 @@
41
  # dataset = load_dataset('json', data_files='./level.json')
42
 
43
  import streamlit as st
44
- import urllib2 # the lib that handles the url stuff
45
 
46
  target_url = 'https://huggingface.co/datasets/Seetha/Visualization/raw/main/AFLAC_Wyatt_notag.pdf'
47
  if st.button('PDF1'):
48
- data = urllib2.urlopen(target_url)
49
  st.write(data)
50
  else:
51
  st.write('Goodbye')
 
41
  # dataset = load_dataset('json', data_files='./level.json')
42
 
43
  import streamlit as st
44
+ import urllib2 # the lib that handles the url stuff
45
 
46
  target_url = 'https://huggingface.co/datasets/Seetha/Visualization/raw/main/AFLAC_Wyatt_notag.pdf'
47
  if st.button('PDF1'):
48
+ data = urllib.urlopen(target_url)
49
  st.write(data)
50
  else:
51
  st.write('Goodbye')