Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ def sitemap(url):
|
|
| 18 |
q=("a","p","span","content","article")
|
| 19 |
for p in soup.find_all("a"):
|
| 20 |
out.append({"LINK TITLE":p.get('title'),"URL":p.get('href'),"STRING":p.string})
|
|
|
|
| 21 |
with gr.Blocks() as app:
|
| 22 |
inp=gr.Textbox()
|
| 23 |
btn=gr.Button()
|
|
|
|
| 18 |
q=("a","p","span","content","article")
|
| 19 |
for p in soup.find_all("a"):
|
| 20 |
out.append({"LINK TITLE":p.get('title'),"URL":p.get('href'),"STRING":p.string})
|
| 21 |
+
return out
|
| 22 |
with gr.Blocks() as app:
|
| 23 |
inp=gr.Textbox()
|
| 24 |
btn=gr.Button()
|