Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import tempfile
|
|
9 |
|
10 |
# load_dotenv()
|
11 |
|
12 |
-
openai.api_key =
|
13 |
|
14 |
# Create a sidebar
|
15 |
st.sidebar.title("Model Configuration")
|
|
|
9 |
|
10 |
# load_dotenv()
|
11 |
|
12 |
+
openai.api_key = st.secrets['api_key']
|
13 |
|
14 |
# Create a sidebar
|
15 |
st.sidebar.title("Model Configuration")
|