Explorar el Código

Merge branch '2024-11-19-master-with-sensitive-words' of Server/title_with_video into master

luojunhui hace 5 meses
padre
commit
ef909b8c35
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      applications/schedule/search_schedule.py

+ 1 - 1
applications/schedule/search_schedule.py

@@ -190,7 +190,7 @@ class SearchMethod(object):
     """
     """
     搜索召回模式
     搜索召回模式
     """
     """
-    s_words = []
+    s_words = ['人民', '必胜', '正义必胜', '中国', '老虎', '人生的扣子', '共产党', '总书记', '政', '习']
 
 
     @classmethod
     @classmethod
     async def search_v1(cls, text, trace_id):
     async def search_v1(cls, text, trace_id):