Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def scrape(instring):
|
|
17 |
# soup and set the markup as html parser
|
18 |
soup = bs(text, "html.parser")
|
19 |
out = str(soup.prettify())
|
20 |
-
return gr.HTML.update(f'''<object data={
|
21 |
def scrape0(instring):
|
22 |
|
23 |
#r = requests.get(instring)
|
|
|
17 |
# soup and set the markup as html parser
|
18 |
soup = bs(text, "html.parser")
|
19 |
out = str(soup.prettify())
|
20 |
+
return gr.HTML.update(f'''<object data={instring} type="application/pdf" width="100%" height="500px">''')
|
21 |
def scrape0(instring):
|
22 |
|
23 |
#r = requests.get(instring)
|