xeroISB commited on
Commit
7be54c3
·
1 Parent(s): da3f3d6
Files changed (2) hide show
  1. .env +0 -1
  2. app.py +1 -1
.env DELETED
@@ -1 +0,0 @@
1
- OPENAI_API_KEY = "fzKgDlE_lptxX-+JxoC~"
 
 
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
 
6
 
7
  # Load environment variables
8
- api_key = os.getenv("OPENAI_API_KEY")
9
 
10
  # Ensure the API key is available
11
  if not api_key:
 
5
 
6
 
7
  # Load environment variables
8
+ api_key= os.environ.get('OPENAI_API_KEY')
9
 
10
  # Ensure the API key is available
11
  if not api_key: