Jay-Rajput commited on
Commit
62df28a
·
1 Parent(s): 68ac4ec

ai detector enhanced

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -79,9 +79,9 @@ class ChatGPTOptimizedDetector:
79
 
80
  # 1. Over-politeness and helpful language patterns
81
  polite_phrases = [
82
- 'i hope this helps', 'i'd be happy to', 'please let me know',
83
- 'feel free to', 'i'd recommend', 'you might want to', 'you might consider',
84
- 'it's worth noting', 'it's important to', 'keep in mind',
85
  'i understand', 'certainly', 'absolutely', 'definitely'
86
  ]
87
  polite_count = sum(1 for phrase in polite_phrases if phrase in text.lower())
 
79
 
80
  # 1. Over-politeness and helpful language patterns
81
  polite_phrases = [
82
+ 'i hope this helps', 'i"d be happy to', 'please let me know',
83
+ 'feel free to', 'i"d recommend', 'you might want to', 'you might consider',
84
+ 'it"s worth noting', 'it"s important to', 'keep in mind',
85
  'i understand', 'certainly', 'absolutely', 'definitely'
86
  ]
87
  polite_count = sum(1 for phrase in polite_phrases if phrase in text.lower())