Commit ff7a6e10 authored by 张彦钊's avatar 张彦钊

修改rerank文件每次写入的数量

parent 77149a6e
......@@ -26,15 +26,6 @@ def get_esmm_users():
except:
return []
def get_all_users():
try:
sql = "select distinct device_id,city_id from esmm_device_diary_queue"
result = get_mysql_data('172.16.40.158', 4000, 'root','3SYz54LS9#^9sBvC','jerry_test',sql)
result = list(result)
return result
except:
return []
def get_user_profile(device_id,top_k = 5):
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment