We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4e62e commit 85d3804Copy full SHA for 85d3804
ai/reccomendation.py
@@ -106,7 +106,7 @@ def reccomend(user_id):
106
reccomendations = []
107
for item in top:
108
print(item["_id"])
109
- top_similar = requests.get(f"http://localhost:8080/api/v1/review/user/{user['_id']}/top?limit=20")
+ top_similar = requests.get(f"http://137.184.211.229/api/v1/review/user/{user['_id']}/top?limit=20")
110
top_similar = top_similar.json()
111
# get the ids of the menu items that are returned in the top 20 similar reviews
112
menu_items = [review["items"][0]["ID"] for review in top_similar]
0 commit comments