Spaces:
Runtime error
Runtime error
sasa
#2
by
sameertechmero
- opened
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import hashlib
|
|
| 4 |
import random
|
| 5 |
|
| 6 |
# Set the OpenAI API key from Streamlit secrets
|
| 7 |
-
openai.api_key = st.secrets["
|
| 8 |
|
| 9 |
# Cache responses to avoid redundant API calls
|
| 10 |
@st.cache_data
|
|
|
|
| 4 |
import random
|
| 5 |
|
| 6 |
# Set the OpenAI API key from Streamlit secrets
|
| 7 |
+
openai.api_key = st.secrets["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"]
|
| 8 |
|
| 9 |
# Cache responses to avoid redundant API calls
|
| 10 |
@st.cache_data
|