Commit
·
201f432
1
Parent(s):
7b33dad
Update streamlit_app.py
Browse files- streamlit_app.py +3 -6
streamlit_app.py
CHANGED
@@ -222,11 +222,8 @@ with st.sidebar:
|
|
222 |
on_click=clear_memory,
|
223 |
help="Clear the conversational memory. Currently implemented to retrain the 4 most recent messages.")
|
224 |
|
225 |
-
st.title("
|
226 |
-
st.subheader("Upload a
|
227 |
-
|
228 |
-
st.markdown(
|
229 |
-
":warning: Do not upload sensitive data. We **temporarily** store text from the uploaded PDF documents solely for the purpose of processing your request, and we **do not assume responsibility** for any subsequent use or handling of the data submitted to third parties LLMs.")
|
230 |
|
231 |
uploaded_file = st.file_uploader("Upload an article",
|
232 |
type=("pdf", "txt"),
|
@@ -263,7 +260,7 @@ with st.sidebar:
|
|
263 |
st.header("Documentation")
|
264 |
st.markdown("https://github.com/lfoppiano/document-qa")
|
265 |
st.markdown(
|
266 |
-
"""Upload a
|
267 |
|
268 |
if st.session_state['git_rev'] != "unknown":
|
269 |
st.markdown("**Revision number**: [" + st.session_state[
|
|
|
222 |
on_click=clear_memory,
|
223 |
help="Clear the conversational memory. Currently implemented to retrain the 4 most recent messages.")
|
224 |
|
225 |
+
st.title("Document Insights (Q/A)")
|
226 |
+
st.subheader("Upload a PDF, ask questions, get insights.")
|
|
|
|
|
|
|
227 |
|
228 |
uploaded_file = st.file_uploader("Upload an article",
|
229 |
type=("pdf", "txt"),
|
|
|
260 |
st.header("Documentation")
|
261 |
st.markdown("https://github.com/lfoppiano/document-qa")
|
262 |
st.markdown(
|
263 |
+
"""Upload a PDF document. Once the spinner stops, you can proceed to ask your questions.""")
|
264 |
|
265 |
if st.session_state['git_rev'] != "unknown":
|
266 |
st.markdown("**Revision number**: [" + st.session_state[
|