Spaces:
Sleeping
Sleeping
Update streamlit_app.py
Browse files- streamlit_app.py +2 -8
streamlit_app.py
CHANGED
|
@@ -102,13 +102,11 @@ if 'scroll_to_first_annotation' not in st.session_state:
|
|
| 102 |
st.session_state['scroll_to_first_annotation'] = False
|
| 103 |
|
| 104 |
st.set_page_config(
|
| 105 |
-
page_title="
|
| 106 |
page_icon="📝",
|
| 107 |
initial_sidebar_state="expanded",
|
| 108 |
layout="wide",
|
| 109 |
menu_items={
|
| 110 |
-
'Get Help': 'https://github.com/lfoppiano/document-qa',
|
| 111 |
-
'Report a bug': "https://github.com/lfoppiano/document-qa/issues",
|
| 112 |
'About': "Upload a scientific article in PDF, ask questions, get insights."
|
| 113 |
}
|
| 114 |
)
|
|
@@ -238,10 +236,8 @@ def play_old_messages(container):
|
|
| 238 |
# is_api_key_provided = st.session_state['api_key']
|
| 239 |
|
| 240 |
with st.sidebar:
|
| 241 |
-
st.title("
|
| 242 |
st.markdown("Upload a scientific article in PDF, ask questions, get insights.")
|
| 243 |
-
st.markdown(
|
| 244 |
-
":warning: [Usage disclaimer](https://github.com/lfoppiano/document-qa?tab=readme-ov-file#disclaimer-on-data-security-and-privacy-%EF%B8%8F) :warning: ")
|
| 245 |
|
| 246 |
st.divider()
|
| 247 |
st.session_state['model'] = model = st.selectbox(
|
|
@@ -375,8 +371,6 @@ with st.sidebar:
|
|
| 375 |
|
| 376 |
st.divider()
|
| 377 |
|
| 378 |
-
st.header("Documentation")
|
| 379 |
-
st.markdown("https://github.com/lfoppiano/document-qa")
|
| 380 |
st.markdown(
|
| 381 |
"""Upload a scientific article as PDF document. Once the spinner stops, you can proceed to ask your questions.""")
|
| 382 |
|
|
|
|
| 102 |
st.session_state['scroll_to_first_annotation'] = False
|
| 103 |
|
| 104 |
st.set_page_config(
|
| 105 |
+
page_title="Articel Chatbot",
|
| 106 |
page_icon="📝",
|
| 107 |
initial_sidebar_state="expanded",
|
| 108 |
layout="wide",
|
| 109 |
menu_items={
|
|
|
|
|
|
|
| 110 |
'About': "Upload a scientific article in PDF, ask questions, get insights."
|
| 111 |
}
|
| 112 |
)
|
|
|
|
| 236 |
# is_api_key_provided = st.session_state['api_key']
|
| 237 |
|
| 238 |
with st.sidebar:
|
| 239 |
+
st.title("Articel Chatbot")
|
| 240 |
st.markdown("Upload a scientific article in PDF, ask questions, get insights.")
|
|
|
|
|
|
|
| 241 |
|
| 242 |
st.divider()
|
| 243 |
st.session_state['model'] = model = st.selectbox(
|
|
|
|
| 371 |
|
| 372 |
st.divider()
|
| 373 |
|
|
|
|
|
|
|
| 374 |
st.markdown(
|
| 375 |
"""Upload a scientific article as PDF document. Once the spinner stops, you can proceed to ask your questions.""")
|
| 376 |
|