Spaces:
Runtime error
Runtime error
typo
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import random
|
|
| 4 |
import os
|
| 5 |
import openai
|
| 6 |
|
| 7 |
-
openai.api_key = os.environ["
|
| 8 |
|
| 9 |
# Read global contexts
|
| 10 |
with open('data/global-contexts.txt', 'r') as f:
|
|
|
|
| 4 |
import os
|
| 5 |
import openai
|
| 6 |
|
| 7 |
+
openai.api_key = os.environ["OPENAI_API_KEY"]
|
| 8 |
|
| 9 |
# Read global contexts
|
| 10 |
with open('data/global-contexts.txt', 'r') as f:
|