Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +4 -2
src/streamlit_app.py
CHANGED
|
@@ -30,8 +30,10 @@ with st.container():
|
|
| 30 |
st.markdown("Ask financial questions about ITC Ltd. based on transcript data, powered by AI.")
|
| 31 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
| 35 |
|
| 36 |
# Initialize Chroma DB
|
| 37 |
@st.cache_resource
|
|
|
|
| 30 |
st.markdown("Ask financial questions about ITC Ltd. based on transcript data, powered by AI.")
|
| 31 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 32 |
|
| 33 |
+
|
| 34 |
+
# Safe way to access secrets
|
| 35 |
+
GOOGLE_API_KEY = st.secrets["general"]["genai"]
|
| 36 |
+
|
| 37 |
|
| 38 |
# Initialize Chroma DB
|
| 39 |
@st.cache_resource
|