Spaces:
Running
Running
use disclaimer from the readme
Browse files- streamlit_app.py +3 -3
streamlit_app.py
CHANGED
|
@@ -219,7 +219,7 @@ with st.sidebar:
|
|
| 219 |
)
|
| 220 |
|
| 221 |
st.markdown(
|
| 222 |
-
":warning:
|
| 223 |
|
| 224 |
if (model == 'mistral-7b-instruct-v0.1' or model == 'zephyr-7b-beta') and model not in st.session_state['api_keys']:
|
| 225 |
if 'HUGGINGFACEHUB_API_TOKEN' not in os.environ:
|
|
@@ -297,9 +297,9 @@ with st.sidebar:
|
|
| 297 |
help="Number of chunks to consider when answering a question",
|
| 298 |
disabled=not uploaded_file)
|
| 299 |
|
| 300 |
-
st.session_state['ner_processing'] = st.checkbox("
|
| 301 |
st.markdown(
|
| 302 |
-
'
|
| 303 |
unsafe_allow_html=True)
|
| 304 |
|
| 305 |
st.divider()
|
|
|
|
| 219 |
)
|
| 220 |
|
| 221 |
st.markdown(
|
| 222 |
+
":warning: [Usage disclaimer](https://github.com/lfoppiano/document-qa/tree/review-interface#disclaimer-on-data-security-and-privacy-%EF%B8%8F) :warning: ")
|
| 223 |
|
| 224 |
if (model == 'mistral-7b-instruct-v0.1' or model == 'zephyr-7b-beta') and model not in st.session_state['api_keys']:
|
| 225 |
if 'HUGGINGFACEHUB_API_TOKEN' not in os.environ:
|
|
|
|
| 297 |
help="Number of chunks to consider when answering a question",
|
| 298 |
disabled=not uploaded_file)
|
| 299 |
|
| 300 |
+
st.session_state['ner_processing'] = st.checkbox("Identify materials and properties.")
|
| 301 |
st.markdown(
|
| 302 |
+
'The LLM responses undergo post-processing to extract <span style="color:orange">physical quantities, measurements</span>, and <span style="color:green">materials</span> mentions.',
|
| 303 |
unsafe_allow_html=True)
|
| 304 |
|
| 305 |
st.divider()
|