Update llama_guard.py
Browse files- llama_guard.py +1 -1
llama_guard.py
CHANGED
@@ -15,7 +15,7 @@ HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACE_LLAMAGAURD_API_TOKEN")
|
|
15 |
|
16 |
# reading unsafe categories file
|
17 |
try:
|
18 |
-
with open("data/llama_guard-
|
19 |
unsafe_categories = file.read()
|
20 |
except FileNotFoundError:
|
21 |
print("File not found. Please check the file path.")
|
|
|
15 |
|
16 |
# reading unsafe categories file
|
17 |
try:
|
18 |
+
with open("data/llama_guard-unsafe_files.txt", "r") as file:
|
19 |
unsafe_categories = file.read()
|
20 |
except FileNotFoundError:
|
21 |
print("File not found. Please check the file path.")
|