Omnibus commited on
Commit
b5da67f
·
verified ·
1 Parent(s): eb03447

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -310,14 +310,14 @@ def find_all(purpose,task,history, url):
310
  out.append("HTML fragments: ")
311
  q=("a","p","span","content","article")
312
  for p in soup.find_all(q):
313
- cnt+=len(p.string)
314
- cnt+=len(p)
315
 
316
  out.append([{"string":p.string,"content":p}])
317
  c=0
318
  out = str(out)
319
  rl = len(out)
320
- print (cnt)
321
  print(f'rl:: {rl}')
322
  #for ea in out:
323
  for i in str(out):
 
310
  out.append("HTML fragments: ")
311
  q=("a","p","span","content","article")
312
  for p in soup.find_all(q):
313
+ #cnt+=len(p.string)
314
+ #cnt+=len(p)
315
 
316
  out.append([{"string":p.string,"content":p}])
317
  c=0
318
  out = str(out)
319
  rl = len(out)
320
+ #print (cnt)
321
  print(f'rl:: {rl}')
322
  #for ea in out:
323
  for i in str(out):