Prathamesh1420
commited on
Commit
•
26ea18c
1
Parent(s):
469b8a3
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from huggingface_hub import login
|
|
11 |
# Add your Hugging Face token here
|
12 |
HUGGINGFACE_TOKEN = os.getenv("HF")
|
13 |
login(token=HUGGINGFACE_TOKEN)
|
14 |
-
|
15 |
# Initialize the text classifier for guardrails
|
16 |
classifier = pipeline("text-classification", model="meta-llama/Prompt-Guard-86M")
|
17 |
|
|
|
11 |
# Add your Hugging Face token here
|
12 |
HUGGINGFACE_TOKEN = os.getenv("HF")
|
13 |
login(token=HUGGINGFACE_TOKEN)
|
14 |
+
groq_api_key = os.getenv("GROQ_API_KEY")
|
15 |
# Initialize the text classifier for guardrails
|
16 |
classifier = pipeline("text-classification", model="meta-llama/Prompt-Guard-86M")
|
17 |
|