Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import os
|
|
10 |
|
11 |
## function to lad the openai model and to get the response
|
12 |
|
13 |
-
os.environ["OPENAI_API_KEY"] = st.secrets
|
14 |
|
15 |
|
16 |
def get_openai_response(question):
|
|
|
10 |
|
11 |
## function to lad the openai model and to get the response
|
12 |
|
13 |
+
os.environ["OPENAI_API_KEY"] = st.secrets["OPENAI_API_KEY"]
|
14 |
|
15 |
|
16 |
def get_openai_response(question):
|