Commit 6a44a1fc authored by 张彦钊's avatar 张彦钊

add note for test

parent bda64518
......@@ -209,10 +209,10 @@ if __name__ == "__main__":
# router(device_id)
user_profile, not_exist = fetch_user_profile(device_id)
if not_exist == 1:
print('Sorry, we don\'t have you.')
else:
predict(user_profile)
# if not_exist == 1:
# print('Sorry, we don\'t have you.')
# else:
# predict(user_profile)
else:
print("该用户不是老用户,不能预测")
......
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