Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
from streamlit_chat import message
|
| 3 |
|
| 4 |
import openai
|
| 5 |
-
openai.api_key = st.secrets["
|
| 6 |
|
| 7 |
# openAI code
|
| 8 |
def openai_create(prompt):
|
|
|
|
| 2 |
from streamlit_chat import message
|
| 3 |
|
| 4 |
import openai
|
| 5 |
+
openai.api_key = st.secrets["open_api_key"]
|
| 6 |
|
| 7 |
# openAI code
|
| 8 |
def openai_create(prompt):
|