TheHuriShow commited on
Commit
e5d17fd
·
verified ·
1 Parent(s): 53b9a2d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def get_recommendations_and_generate(query_text, k=3):
47
  for idx_numpy in indices[0]:
48
  idx = int(idx_numpy)
49
  trip_plan = {
50
- "dest": dataset[idx]['dest'],
51
- "reference_information": dataset[idx]['reference_information']
52
  }
53
  results.append(trip_plan)
54
 
 
47
  for idx_numpy in indices[0]:
48
  idx = int(idx_numpy)
49
  trip_plan = {
50
+ "dest": dataset['test']['dest'][idx],
51
+ "reference_information": dataset['test']['reference_information'][idx]
52
  }
53
  results.append(trip_plan)
54