Spaces:
Sleeping
Sleeping
print the keyword
Browse files
app.py
CHANGED
@@ -154,11 +154,12 @@ def get_top_5_destinations(user_query):
|
|
154 |
'similarity': similarity
|
155 |
})
|
156 |
|
157 |
-
print(normalized_query)
|
158 |
return top_places
|
159 |
|
|
|
|
|
160 |
# Generate response to user using Groq VM
|
161 |
-
def generate_response(
|
162 |
try:
|
163 |
# Prepare the destinations data in JSON format for the model to use directly
|
164 |
destinations_data = ", ".join([
|
|
|
154 |
'similarity': similarity
|
155 |
})
|
156 |
|
|
|
157 |
return top_places
|
158 |
|
159 |
+
print(normalize_query)
|
160 |
+
|
161 |
# Generate response to user using Groq VM
|
162 |
+
def generate_response(top_places):
|
163 |
try:
|
164 |
# Prepare the destinations data in JSON format for the model to use directly
|
165 |
destinations_data = ", ".join([
|