Update app.py
Browse files
app.py
CHANGED
|
@@ -37,9 +37,9 @@ st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
|
| 37 |
set_background('./15683.jpg')
|
| 38 |
|
| 39 |
if 'HuggingFace_API_Key' not in st.session_state:
|
| 40 |
-
st.session_state['HuggingFace_API_Key'] = os.getenv
|
| 41 |
if 'Pinecone_API_Key' not in st.session_state:
|
| 42 |
-
st.session_state['Pinecone_API_Key'] = os.getenv
|
| 43 |
|
| 44 |
st.title("π TCE.edu Chat Assistant: Your Friendly Guide to Everything TCE! π")
|
| 45 |
|
|
|
|
| 37 |
set_background('./15683.jpg')
|
| 38 |
|
| 39 |
if 'HuggingFace_API_Key' not in st.session_state:
|
| 40 |
+
st.session_state['HuggingFace_API_Key'] = os.getenv('HF_TOKEN')
|
| 41 |
if 'Pinecone_API_Key' not in st.session_state:
|
| 42 |
+
st.session_state['Pinecone_API_Key'] = os.getenv('PINECONE_API')
|
| 43 |
|
| 44 |
st.title("π TCE.edu Chat Assistant: Your Friendly Guide to Everything TCE! π")
|
| 45 |
|