Omnibus commited on
Commit
f05905d
·
1 Parent(s): 3ff2217

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -6,6 +6,10 @@ import requests
6
  #from IPython.display import IFrame
7
 
8
  def scrape(instring):
 
 
 
 
9
  # set the url to perform the get request
10
  URL = f'{instring}'
11
  page = requests.get(URL)
 
6
  #from IPython.display import IFrame
7
 
8
  def scrape(instring):
9
+
10
+ return gr.HTML.update(f'''<div><object data={instring} type="application/pdf" width="100%" height="500px"></div>''')
11
+
12
+ def scrape1(instring):
13
  # set the url to perform the get request
14
  URL = f'{instring}'
15
  page = requests.get(URL)