Commit 96ef7837 authored by 李小芳's avatar 李小芳

get_highlight_v2

parent 2c637450
......@@ -223,7 +223,7 @@ def get_answers(pks):
elif 10683 in all_tags:
item['selected_content_type'] = SELECTED_CONTENT_TYPE.CELEBRITY_GOSSIP
else:
item['selected_content_type'] = -1
item['selected_content_type'] =SELECTED_CONTENT_TYPE.BEAUTY_PROJECT
else:
try:
result_data = alo_model.run(answer.content)
......
......@@ -278,7 +278,7 @@ def get_tractate(pks):
elif 10683 in all_tags:
item['selected_content_type'] = SELECTED_CONTENT_TYPE.CELEBRITY_GOSSIP
else:
item['selected_content_type'] = -1
item['selected_content_type'] = SELECTED_CONTENT_TYPE.BEAUTY_PROJECT
else:
try:
result_data = alo_model.run(tractate.content)
......
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