Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -308,7 +308,7 @@ def generate_answer(message, choice, retrieval_mode):
|
|
308 |
logging.debug(f"generate_answer called with choice: {choice} and retrieval_mode: {retrieval_mode}")
|
309 |
|
310 |
# Check if the question is about hotels
|
311 |
-
if "hotel" in message.lower() or
|
312 |
response = fetch_google_hotels()
|
313 |
return response, extract_addresses(response)
|
314 |
|
|
|
308 |
logging.debug(f"generate_answer called with choice: {choice} and retrieval_mode: {retrieval_mode}")
|
309 |
|
310 |
# Check if the question is about hotels
|
311 |
+
if "hotel" in message.lower() or "hotels" in message.lower() and "birmingham" in message.lower():
|
312 |
response = fetch_google_hotels()
|
313 |
return response, extract_addresses(response)
|
314 |
|