awacke1 commited on
Commit
eae694f
โ€ข
1 Parent(s): 067edf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -10
app.py CHANGED
@@ -29,7 +29,6 @@ st.set_page_config(
29
  }
30
  )
31
 
32
-
33
  # Initialize session state variables
34
  if 'selected_file' not in st.session_state:
35
  st.session_state.selected_file = None
@@ -38,8 +37,6 @@ if 'view_mode' not in st.session_state:
38
  if 'files' not in st.session_state:
39
  st.session_state.files = []
40
 
41
-
42
-
43
  AITopicsToInnovate1="""
44
  1. Major AI Industry Players ๐ŸŒ
45
  1. Research Leaders ๐ŸŽฏ
@@ -505,16 +502,15 @@ def SpeechSynthesis(result):
505
  '''
506
  components.html(documentHTML5, width=1280, height=300)
507
 
508
-
509
-
510
  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
- "๐Ÿ”<sup>Google</sup>": lambda k: f"https://www.google.com/search?q={quote(k)}",
515
- "โ–ถ๏ธ<sup>Youtube</sup>": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
516
- "๐Ÿ”Ž<sup>Bing</sup>": 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()])
 
29
  }
30
  )
31
 
 
32
  # Initialize session state variables
33
  if 'selected_file' not in st.session_state:
34
  st.session_state.selected_file = None
 
37
  if 'files' not in st.session_state:
38
  st.session_state.files = []
39
 
 
 
40
  AITopicsToInnovate1="""
41
  1. Major AI Industry Players ๐ŸŒ
42
  1. Research Leaders ๐ŸŽฏ
 
502
  '''
503
  components.html(documentHTML5, width=1280, height=300)
504
 
 
 
505
  def display_terms_with_links(terms):
506
  """Display terms with various search links."""
507
  search_urls = {
508
+ "๐Ÿ“š๐Ÿ“–ArXiv": lambda k: f"/?q={quote(k)}", # Academic/paper theme
509
+ "๐Ÿ”ฎ<sup>Google</sup>": lambda k: f"https://www.google.com/search?q={quote(k)}", # Crystal ball for search
510
+ "๐Ÿ“บ<sup>Youtube</sup>": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}", # TV for videos
511
+ "๐Ÿ”ญ<sup>Bing</sup>": lambda k: f"https://www.bing.com/search?q={quote(k)}", # Telescope for search
512
+ "๐Ÿ’ก<sup>Truth</sup>": lambda k: f"https://truthsocial.com/search?q={quote(k)}", # Light bulb for insight
513
+ "๐Ÿ“ฑX": lambda k: f"https://twitter.com/search?q={quote(k)}", # Phone for social media
514
  }
515
  for term in terms:
516
  links_md = ' '.join([f"[{emoji}]({url(term)})" for emoji, url in search_urls.items()])