Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -355,7 +355,7 @@ Contact Number
|
|
355 |
|
356 |
def categorize_message(message):
|
357 |
"""Categorize the message to determine the required response length."""
|
358 |
-
office_related_keywords = ['office', 'contact', 'address', 'location', 'branch']
|
359 |
if any(keyword in message.lower() for keyword in office_related_keywords):
|
360 |
return 512 # Larger response
|
361 |
else:
|
|
|
355 |
|
356 |
def categorize_message(message):
|
357 |
"""Categorize the message to determine the required response length."""
|
358 |
+
office_related_keywords = ['office', 'contact', 'address', 'location', 'branch', 'services']
|
359 |
if any(keyword in message.lower() for keyword in office_related_keywords):
|
360 |
return 512 # Larger response
|
361 |
else:
|