Spaces:
Sleeping
Sleeping
shresthasingh
commited on
Commit
•
9b7727e
1
Parent(s):
7469aa6
Update app.py
Browse files
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 |
-
|
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 = """
|