yoinked commited on
Commit
52fdc4e
·
verified ·
1 Parent(s): df57363

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,9 +95,9 @@ def make_paper_card(md):
95
 
96
  def make_paper_cards(tags=None):
97
  mds = get_papers_metadata()
98
- tags = tags.split(",")
99
- tags = [tag.strip() for tag in tags]
100
  if tags is not None:
 
 
101
  mds = [md for md in mds if any(tag in md["tags"] for tag in tags)]
102
  htmls = [make_paper_card(md) for md in mds]
103
  fin = "<div class='caaard-containers'>"
 
95
 
96
  def make_paper_cards(tags=None):
97
  mds = get_papers_metadata()
 
 
98
  if tags is not None:
99
+ tags = tags.split(",")
100
+ tags = [tag.strip() for tag in tags]
101
  mds = [md for md in mds if any(tag in md["tags"] for tag in tags)]
102
  htmls = [make_paper_card(md) for md in mds]
103
  fin = "<div class='caaard-containers'>"