mgokg commited on
Commit
cefaac5
·
verified ·
1 Parent(s): 75278c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -50,8 +50,10 @@ def parse_links_and_content(ort):
50
 
51
  except Exception as e:
52
  return str(e), []
53
-
54
- return all_links
 
 
55
 
56
  def scrape_links(links):
57
  results = []
 
50
 
51
  except Exception as e:
52
  return str(e), []
53
+
54
+ filtered_data = {key: value for key, value in data.items() if value != ort}
55
+ #return all_links
56
+ return filtered_data
57
 
58
  def scrape_links(links):
59
  results = []