Omnibus commited on
Commit
becd9fd
·
verified ·
1 Parent(s): 368c1f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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()