Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def categorize_question(question):
|
|
| 43 |
words = question.split()
|
| 44 |
|
| 45 |
# List of words to exclude from 'End of Conversation'
|
| 46 |
-
exclusion_words = {'is', 'please', 'not resolved', 'unresolved', 'problem', 'help', 'issue', 'webinar', 'office', 'leave', 'approved', 'notice', 'period', 'good morning'}
|
| 47 |
|
| 48 |
# Check if the question has only one word
|
| 49 |
if len(words) == 1:
|
|
|
|
| 43 |
words = question.split()
|
| 44 |
|
| 45 |
# List of words to exclude from 'End of Conversation'
|
| 46 |
+
exclusion_words = {'is', 'please', 'not resolved', 'unresolved', 'problem', 'help', 'issue', 'webinar', 'office', 'leave', 'approved', 'notice', 'period', 'good morning', 'when', 'where', 'why', 'how', 'which', 'and when'}
|
| 47 |
|
| 48 |
# Check if the question has only one word
|
| 49 |
if len(words) == 1:
|