C2MV commited on
Commit
14c7753
·
verified ·
1 Parent(s): 7b1af97

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +3 -3
utils.py CHANGED
@@ -38,7 +38,7 @@ def process_tags_chat(search_results):
38
  filtered_links = []
39
  if relevant_links:
40
  # Limitar a solo dos tags
41
- tag_list = ["rId101", "rId105"]
42
  for link in relevant_links:
43
  if any(tag in link for tag in tag_list):
44
  tags_detected.append(link) # Guardar el tag pero no mostrarlo
@@ -51,8 +51,8 @@ def process_tags_chat(search_results):
51
 
52
  # Manejar las imágenes basadas en los tags detectados
53
  tags_to_images = {
54
- "rId101": "images/rId101.png",
55
- "rId105": "images/rId105.png",
56
  }
57
 
58
  for tag in tags_detected:
 
38
  filtered_links = []
39
  if relevant_links:
40
  # Limitar a solo dos tags
41
+ tag_list = ["rld0", "rld1"]
42
  for link in relevant_links:
43
  if any(tag in link for tag in tag_list):
44
  tags_detected.append(link) # Guardar el tag pero no mostrarlo
 
51
 
52
  # Manejar las imágenes basadas en los tags detectados
53
  tags_to_images = {
54
+ "rld0": "images/rld0.png",
55
+ "rld1": "images/rld1.png",
56
  }
57
 
58
  for tag in tags_detected: