shresthasingh commited on
Commit
834700e
1 Parent(s): 9b7727e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import os
7
 
8
  # Initialize OpenAI client with hardcoded API key
9
  # WARNING: This is not secure and should only be used for testing
10
- openai.api_key = os.getenv("openai")
11
 
12
  # System prompt for GPT-4
13
  SYSTEM_PROMPT = """
 
7
 
8
  # Initialize OpenAI client with hardcoded API key
9
  # WARNING: This is not secure and should only be used for testing
10
+ OpenAI.api_key = os.getenv("openai")
11
 
12
  # System prompt for GPT-4
13
  SYSTEM_PROMPT = """