Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import openai
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
openai.api_key = "
|
| 6 |
|
| 7 |
st.title("Investment Property Finder in Breckenridge and Blue River, CO")
|
| 8 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import openai
|
| 3 |
|
| 4 |
+
# Access the OpenAI API key from Hugging Face Spaces secrets
|
| 5 |
+
openai.api_key = st.secrets["OPENAI_API_KEY"]
|
| 6 |
|
| 7 |
st.title("Investment Property Finder in Breckenridge and Blue River, CO")
|
| 8 |
|