shah1zil commited on
Commit
1c4f0d3
·
verified ·
1 Parent(s): e075f02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from openai import OpenAI
3
  import os
4
 
5
  # AIML API settings
6
- aiml_api_key = os.getenv("OPENAI_API") # Fetch the API key from environment variables
7
  client = OpenAI(api_key=aiml_api_key)
8
 
9
  # Function to generate sentiment analysis
 
3
  import os
4
 
5
  # AIML API settings
6
+ aiml_api_key = os.getenv("AIML_API_KEY") # Fetch the API key from environment variables
7
  client = OpenAI(api_key=aiml_api_key)
8
 
9
  # Function to generate sentiment analysis