Spaces:
Paused
Paused
Commit
โข
3a61bf2
1
Parent(s):
b6c1812
Update app.py
Browse files
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/
|
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
|