kb2022 commited on
Commit
80086ff
·
verified ·
1 Parent(s): c908690

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def detect_ng_word(input_text):
53
 
54
  return response
55
 
56
- def estimate_ng_probability(input_text, thresold=0.3):
57
  response = []
58
  rtn_s = search_ng_word(input_text, ng_wordlist_1_s, ng_wordlist_2_s)
59
  rtn_o = search_ng_word(input_text, ng_wordlist_1_o, ng_wordlist_2_o)
 
53
 
54
  return response
55
 
56
+ def estimate_ng_probability(input_text, threshold=0.3):
57
  response = []
58
  rtn_s = search_ng_word(input_text, ng_wordlist_1_s, ng_wordlist_2_s)
59
  rtn_o = search_ng_word(input_text, ng_wordlist_1_o, ng_wordlist_2_o)