Sa-m commited on
Commit
97be419
·
verified ·
1 Parent(s): bcf08f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ load_dotenv()
31
  nltk.download(['punkt', 'stopwords', 'wordnet', 'words'])
32
 
33
  # Initialize Groq client
34
- groq_api_key = GROQ_API_KEY
35
  groq_client = groq.Groq(api_key=groq_api_key) if groq_api_key else None
36
 
37
  # Stopwords customization
 
31
  nltk.download(['punkt', 'stopwords', 'wordnet', 'words'])
32
 
33
  # Initialize Groq client
34
+ groq_api_key = os.getenv("GROQ_API_KEY")
35
  groq_client = groq.Groq(api_key=groq_api_key) if groq_api_key else None
36
 
37
  # Stopwords customization