Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|