Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from azure.ai.contentsafety.models import AnalyzeTextOptions
|
|
10 |
from transformers import pipeline # Importing Hugging Face pipeline for Toxic BERT
|
11 |
|
12 |
# Load OpenAI and Anthropic API Keys from environment variables
|
13 |
-
openai.api_key = os.getenv("
|
14 |
anthropic_api_key = os.getenv("anthropickey")
|
15 |
|
16 |
# Initialize Anthropic client
|
|
|
10 |
from transformers import pipeline # Importing Hugging Face pipeline for Toxic BERT
|
11 |
|
12 |
# Load OpenAI and Anthropic API Keys from environment variables
|
13 |
+
openai.api_key = os.getenv("OPENAI_API_KEY")
|
14 |
anthropic_api_key = os.getenv("anthropickey")
|
15 |
|
16 |
# Initialize Anthropic client
|