Spaces:
Runtime error
Runtime error
Commit
·
34cf6da
1
Parent(s):
c08ff06
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
|
7 |
directory_path = ''
|
8 |
|
9 |
-
os.environ
|
10 |
|
11 |
def construct_index():
|
12 |
# set maximum input size
|
|
|
6 |
|
7 |
directory_path = ''
|
8 |
|
9 |
+
openai_api_key = os.environ.get("OPENAI_API_KEY")
|
10 |
|
11 |
def construct_index():
|
12 |
# set maximum input size
|