ranamhamoud commited on
Commit
3a61bf2
โ€ข
1 Parent(s): b6c1812

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def contains_profanity(text, profanity_set):
82
  words = text.split()
83
  return any(word.lower() in profanity_set for word in words)
84
 
85
- response = requests.get('https://raw.githubusercontent.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words/master/en')
86
  bad_words = set(response.text.splitlines())
87
 
88
  @spaces.GPU
 
82
  words = text.split()
83
  return any(word.lower() in profanity_set for word in words)
84
 
85
+ response = requests.get('https://raw.githubusercontent.com/ranamkhamoud/profanity/main/profanity.txt')
86
  bad_words = set(response.text.splitlines())
87
 
88
  @spaces.GPU