Omnibus commited on
Commit
fb1e974
·
1 Parent(s): 71ccaee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def scrape(instring):
22
  number_of_pages = len(reader.pages)
23
  page = reader.pages[0]
24
  text = page.extract_text()
25
- return gr.HTML.update(f'''<object data="/data.pdf" type="application/pdf" width="100%" height="500px">no data</object>''')
26
 
27
  def scrape1(instring):
28
  # set the url to perform the get request
 
22
  number_of_pages = len(reader.pages)
23
  page = reader.pages[0]
24
  text = page.extract_text()
25
+ return gr.HTML.update(f'''<embed src="/data.pdf" type="application/pdf" width="100%" height="500px" />''')
26
 
27
  def scrape1(instring):
28
  # set the url to perform the get request