Dagfinn1962 commited on
Commit
d2d065c
1 Parent(s): ac14083

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -6,15 +6,9 @@ import logging
6
 
7
 
8
 
9
- # Read the API key from the .env file
10
- openai.api_key = os.getenv("API_KEY")
11
 
12
 
13
 
14
- # Get the OpenAI key from the configuration file
15
- openai_key = config.get('Credentials', 'openai_key')
16
-
17
- # Use openai_key in your code
18
 
19
 
20
 
 
6
 
7
 
8
 
 
 
9
 
10
 
11
 
 
 
 
 
12
 
13
 
14