Skip to content

Commit 3e10c6e

Browse files
committed
fix: route... again
1 parent 5fba5f6 commit 3e10c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ai/reccomendation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def reccomend(user_id):
106106
reccomendations = []
107107
for item in top:
108108
print(item["_id"])
109-
top_similar = requests.get(f"http://137.184.211.229:8080/api/v1/review/user/{user['_id']}/top?limit=20")
109+
top_similar = requests.get(f"http://137.184.211.229/api/v1/review/user/{user['_id']}/top?limit=20")
110110
top_similar = top_similar.json()
111111
# get the ids of the menu items that are returned in the top 20 similar reviews
112112
menu_items = [review["items"][0]["ID"] for review in top_similar]

0 commit comments

Comments
 (0)