Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
ce335162
Commit
ce335162
authored
Oct 30, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
冷启动tag name使用轻医美词
parent
d3546ef1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
dist_update_user_portrait_service.py
eda/smart_rank/dist_update_user_portrait_service.py
+6
-1
No files found.
eda/smart_rank/dist_update_user_portrait_service.py
View file @
ce335162
...
...
@@ -182,8 +182,13 @@ if __name__ == '__main__':
redis_client
.
delete
(
hot_search_words_portrait_portrait_key2
)
redis_client
.
hmset
(
hot_search_words_portrait_portrait_key2
,
hot_search_words_portrait_dict
)
hot_search_words
=
[
"明星娱乐"
,
"网红扒一扒"
,
"明星颜值打call"
,
"颜商"
,
"颜值高光时刻"
,
"瘦脸针"
,
"水光针"
,
"光子嫩肤"
,
"热玛吉"
,
"瘦腿针"
,
"超声刀"
,
"瘦肩针"
,
"皮秒"
,
"果酸焕肤"
,
"热拉提"
,
"微针"
,
"超皮秒"
,
"点阵激光"
,
"小气泡"
,
"玻尿酸丰下巴"
,
"埋线双眼皮"
,
"纹眉"
,
"嗨体"
,
"溶脂针瘦脸"
,
"黄金微针"
,
"点痣"
,
"激光祛斑"
,
"白瓷娃娃"
,
"除皱针注射"
,
"微针祛痘坑"
,
"玻尿酸"
,
"大分子玻尿酸"
,
"胶原蛋白"
,
"肉毒素"
,
"水杨酸"
,
"果酸"
,
"杏仁酸"
,
"黑脸娃娃"
,
"童颜针"
,
"祛斑"
,
"祛痣"
,
"祛黑头"
,
"祛疤"
,
"祛痘"
,
"蜂巢皮秒"
,
"深蓝射频"
,
"美瞳"
,
"孕睫"
,
"婴儿针"
,
"三文鱼针"
,
"少女针"
,
"素颜针"
,
"熊猫针"
,
"脱毛"
,
"面部提升"
,
"嫩肤"
,
"镭射净肤"
,
"红蓝光"
,
"清洁"
,
"补水"
,
"DPL"
,
"抗衰"
,
"针清"
,
"美白"
,
"冷光美白"
,
"非剥落点阵"
]
hot_search_words_portrait_portrait_key3
=
"user:service_coldstart_tags3"
hot_search_words_portrait3_dict
=
{
i
[
"keywords"
]
:
0.2
for
i
in
hot_search_words
}
hot_search_words_portrait3_dict
=
{
i
:
0.2
for
i
in
hot_search_words
}
redis_client
.
delete
(
hot_search_words_portrait_portrait_key3
)
redis_client
.
hmset
(
hot_search_words_portrait_portrait_key3
,
hot_search_words_portrait3_dict
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment