Commit 82c38745 authored by 高雅喆's avatar 高雅喆

Merge branch 'master' of git.wanmeizhensuo.com:ML/ffm-baseline

parents e558e5d7 dad0ff97
...@@ -83,9 +83,9 @@ def router(device_id): ...@@ -83,9 +83,9 @@ def router(device_id):
user_profile, is_exist = fetch_user_profile(device_id) user_profile, is_exist = fetch_user_profile(device_id)
if is_exist: if is_exist:
predict(user_profile)
else:
print('Sorry, we don\'t have you.') print('Sorry, we don\'t have you.')
else:
predict(user_profile)
if __name__ == "__main__": if __name__ == "__main__":
......
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