Spaces:
Sleeping
Sleeping
Upload 7 files
Browse files- pages/Brain_Search.py +2 -2
pages/Brain_Search.py
CHANGED
|
@@ -38,10 +38,10 @@ def main():
|
|
| 38 |
"""
|
| 39 |
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
| 40 |
st.title("Digital Brain Journal Search π")
|
| 41 |
-
st.write("Ask any questions about all the journal entries with OpenAI's Embeddings
|
| 42 |
|
| 43 |
# Add API key input
|
| 44 |
-
api_key = st.text_input("Enter your API key:", type="password")
|
| 45 |
os.environ["OPENAI_API_KEY"] = api_key
|
| 46 |
|
| 47 |
if not api_key:
|
|
|
|
| 38 |
"""
|
| 39 |
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
| 40 |
st.title("Digital Brain Journal Search π")
|
| 41 |
+
st.write("Ask any questions about all the journal entries with OpenAI's Embeddings and Langchain. The virtual brain keeps track of everything in a user's life. If you have another TXT or PDF file you'd like to search for answers, click on the dropdown and select eithter TXT or PDF option in file type.")
|
| 42 |
|
| 43 |
# Add API key input
|
| 44 |
+
api_key = st.text_input("Enter your OpenAI API key:", type="password")
|
| 45 |
os.environ["OPENAI_API_KEY"] = api_key
|
| 46 |
|
| 47 |
if not api_key:
|