Spaces:
Running
Running
Update helper_regex.py
Browse files- helper_regex.py +1 -1
helper_regex.py
CHANGED
@@ -15,7 +15,7 @@ WHITELIST_WORDS = {"eval", "admin", "bot", "python", "ok", "done", "anti"}
|
|
15 |
|
16 |
def check_anti_word_by_ryzenth(text: str):
|
17 |
response = requests.get(
|
18 |
-
f"https://randydev-ryu-js.hf.space/api/v1/ai/akenox/antievalai-
|
19 |
headers={"x-api-key": "akeno_UKQEQMt991kh2Ehh7JqJYKapx8CCyeC"}
|
20 |
).json()
|
21 |
try:
|
|
|
15 |
|
16 |
def check_anti_word_by_ryzenth(text: str):
|
17 |
response = requests.get(
|
18 |
+
f"https://randydev-ryu-js.hf.space/api/v1/ai/akenox/antievalai-v2?query={text}",
|
19 |
headers={"x-api-key": "akeno_UKQEQMt991kh2Ehh7JqJYKapx8CCyeC"}
|
20 |
).json()
|
21 |
try:
|