awacke1 commited on
Commit
113c3a0
·
verified ·
1 Parent(s): ad74a39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -511,11 +511,10 @@ def display_terms_with_links(terms):
511
  """Display terms with various search links."""
512
  search_urls = {
513
  "🚀🌌ArXiv": lambda k: f"/?q={quote(k)}",
514
- "📖": lambda k: f"https://en.wikipedia.org/wiki/{quote(k)}",
515
- "🔍": lambda k: f"https://www.google.com/search?q={quote(k)}",
516
- "▶️": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
517
- "🔎": lambda k: f"https://www.bing.com/search?q={quote(k)}",
518
- "🐦": lambda k: f"https://twitter.com/search?q={quote(k)}",
519
  }
520
  for term in terms:
521
  links_md = ' '.join([f"[{emoji}]({url(term)})" for emoji, url in search_urls.items()])
 
511
  """Display terms with various search links."""
512
  search_urls = {
513
  "🚀🌌ArXiv": lambda k: f"/?q={quote(k)}",
514
+ "🔍<sup>Google</sup>": lambda k: f"https://www.google.com/search?q={quote(k)}",
515
+ "▶️Youtube": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
516
+ "🔎Bing": lambda k: f"https://www.bing.com/search?q={quote(k)}",
517
+ "🐦X": lambda k: f"https://twitter.com/search?q={quote(k)}",
 
518
  }
519
  for term in terms:
520
  links_md = ' '.join([f"[{emoji}]({url(term)})" for emoji, url in search_urls.items()])