Spaces:
Runtime error
Runtime error
Commit ·
62df28a
1
Parent(s): 68ac4ec
ai detector enhanced
Browse files78 unmodified lines79808182838485868778 unmodified lines# 1. Over-politeness and helpful language patternspolite_phrases = ['i hope this helps', 'i'd be happy to', 'please let me know','feel free to', 'i'd recommend', 'you might want to', 'you might consider','it's worth noting', 'it's important to', 'keep in mind','i understand', 'certainly', 'absolutely', 'definitely']polite_count = sum(1 for phrase in polite_phrases if phrase in text.lower())78 unmodified lines79808182838485868778 unmodified lines# 1. Over-politeness and helpful language patternspolite_phrases = ['i hope this helps', 'i"d be happy to', 'please let me know','feel free to', 'i"d recommend', 'you might want to', 'you might consider','it"s worth noting', 'it"s important to', 'keep in mind','i understand', 'certainly', 'absolutely', 'definitely']polite_count = sum(1 for phrase in polite_phrases if phrase in text.lower())
app.py+3-3