Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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[
|
51 |
-
"reference_information": dataset[
|
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 |
|