Spaces:
Build error
Build error
Commit ·
4d80aaf
1
Parent(s): 5a31e9f
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,6 +60,8 @@ if __name__ == "__main__":
|
|
| 60 |
# saving the vector store in the streamlit session state (to be persistent between reruns)
|
| 61 |
st.session_state.vs = vector_store
|
| 62 |
st.success('File uploaded, chunked and embedded successfully.')
|
|
|
|
|
|
|
| 63 |
else:
|
| 64 |
st.error("Please provide your OpenAI API key above.....")
|
| 65 |
|
|
|
|
| 60 |
# saving the vector store in the streamlit session state (to be persistent between reruns)
|
| 61 |
st.session_state.vs = vector_store
|
| 62 |
st.success('File uploaded, chunked and embedded successfully.')
|
| 63 |
+
else:
|
| 64 |
+
st.error("Please drag and drop your file to the upload area above.....")
|
| 65 |
else:
|
| 66 |
st.error("Please provide your OpenAI API key above.....")
|
| 67 |
|