Omnibus commited on
Commit
6bff05a
·
1 Parent(s): 0167da5

Update app.py

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