lfoppiano commited on
Commit
b8dee5c
1 Parent(s): b9f9e8d

use disclaimer from the readme

Browse files
Files changed (1) hide show
  1. streamlit_app.py +3 -3
streamlit_app.py CHANGED
@@ -219,7 +219,7 @@ with st.sidebar:
219
  )
220
 
221
  st.markdown(
222
- ":warning: Mistral and Zephyr are **FREE** to use. Requests might fail anytime. Use at your own risk. :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("Named Entities Recognition (NER) processing on LLM response")
301
  st.markdown(
302
- '**NER on LLM responses**: The responses from the LLMs are post-processed 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()
 
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()