Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def set_openai_api_key(api_key: str):
|
|
| 22 |
st.session_state["OPENAI_API_KEY"] = api_key
|
| 23 |
|
| 24 |
st.markdown('<h1>Chat with your Files </h1>', unsafe_allow_html=True)
|
| 25 |
-
st.markdown('<
|
| 26 |
|
| 27 |
# Sidebar
|
| 28 |
index = None
|
|
@@ -67,7 +67,7 @@ with st.sidebar:
|
|
| 67 |
|
| 68 |
tab1, tab2 = st.tabs(["Chat with the File", "About the Application"])
|
| 69 |
with tab1:
|
| 70 |
-
st.write('To obtain an API Key you must create an OpenAI account at the following link: https://openai.com/api/')
|
| 71 |
if 'generated' not in st.session_state:
|
| 72 |
st.session_state['generated'] = []
|
| 73 |
|
|
|
|
| 22 |
st.session_state["OPENAI_API_KEY"] = api_key
|
| 23 |
|
| 24 |
st.markdown('<h1>Chat with your Files </h1>', unsafe_allow_html=True)
|
| 25 |
+
st.markdown('<h3>Developed with LangChain and OpenAI Embeddings </h3>', unsafe_allow_html=True)
|
| 26 |
|
| 27 |
# Sidebar
|
| 28 |
index = None
|
|
|
|
| 67 |
|
| 68 |
tab1, tab2 = st.tabs(["Chat with the File", "About the Application"])
|
| 69 |
with tab1:
|
| 70 |
+
# st.write('To obtain an API Key you must create an OpenAI account at the following link: https://openai.com/api/')
|
| 71 |
if 'generated' not in st.session_state:
|
| 72 |
st.session_state['generated'] = []
|
| 73 |
|