bep40 commited on
Commit
06e1129
·
verified ·
1 Parent(s): b4fb4e3

fix: remove surrogate pairs in JS string (use proper Unicode codepoints)

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -53,10 +53,10 @@ CAT_ICONS = [
53
  ("✈️","Du Lịch","du-lich"),
54
  ("⚽","Thể Thao","the-thao"),
55
  ("⚽","Bóng Đá QT","bong-da-qt"),
56
- ("🏴󠁧󠁢󠁥󠁮󠁧󠁿","Ngoại Hạng Anh","ngoai-hang-anh"),
57
- ("🇪🇸","La Liga","la-liga"),
58
  ("🏆","Champions League","champions-league"),
59
- ("🇻🇳","Bóng Đá VN","bong-da-vn"),
60
  ("🔄","Chuyển Nhượng","chuyen-nhuong"),
61
  ]
62
  CAT_KEYS = list(CATEGORIES.keys())
@@ -991,7 +991,7 @@ window.bdpOpenTikTok=function(url,aid){
991
  b.classList.toggle('active',b.getAttribute('data-hash')==='video');
992
  });
993
  /* Trigger Gradio dropdown to Video Tổng Hợp */
994
- window._bdpSetDropdown('\uD83C\uDFAC Video Tổng Hợp');
995
  /* After content loads, scroll to the matching video in TikTok feed */
996
  var attempts=0;
997
  var finder=setInterval(function(){
 
53
  ("✈️","Du Lịch","du-lich"),
54
  ("⚽","Thể Thao","the-thao"),
55
  ("⚽","Bóng Đá QT","bong-da-qt"),
56
+ ("","Ngoại Hạng Anh","ngoai-hang-anh"),
57
+ ("","La Liga","la-liga"),
58
  ("🏆","Champions League","champions-league"),
59
+ ("","Bóng Đá VN","bong-da-vn"),
60
  ("🔄","Chuyển Nhượng","chuyen-nhuong"),
61
  ]
62
  CAT_KEYS = list(CATEGORIES.keys())
 
991
  b.classList.toggle('active',b.getAttribute('data-hash')==='video');
992
  });
993
  /* Trigger Gradio dropdown to Video Tổng Hợp */
994
+ window._bdpSetDropdown('\U0001f3ac Video T\u1ed5ng H\u1ee3p');
995
  /* After content loads, scroll to the matching video in TikTok feed */
996
  var attempts=0;
997
  var finder=setInterval(function(){