tanish78 commited on
Commit
fcacc9a
·
verified ·
1 Parent(s): e8c4d5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: