lg3394 commited on
Commit
f7fb09c
·
verified ·
1 Parent(s): f1262b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("openaiapikey")
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