Omnibus commited on
Commit
a183a35
·
1 Parent(s): 4b4803c

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'''<html><body><object data="{instring}" type="application/pdf" width="100%" height="500px"></object></body></html>''')
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'''<html><body><embed src={instring} width= "500" height= "375"></embed></body></html>''')
11
 
12
  def scrape1(instring):
13
  # set the url to perform the get request