devve1 commited on
Commit
0eb0a44
1 Parent(s): 073b1bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -345,8 +345,7 @@ def qa_prompt():
345
  )
346
 
347
  def on_change_documents_only():
348
- st.session_state.toggle_docs =
349
- {
350
  'qa_prompt': qa_prompt(),
351
  'tooltip': 'The AI answer your questions only considering the documents provided' if st.session_state.documents_only else """The AI answer your questions considering the documents provided, and if it doesn't found the answer in them, try to find in its own internal knowledge"""
352
  }
 
345
  )
346
 
347
  def on_change_documents_only():
348
+ st.session_state.toggle_docs = {
 
349
  'qa_prompt': qa_prompt(),
350
  'tooltip': 'The AI answer your questions only considering the documents provided' if st.session_state.documents_only else """The AI answer your questions considering the documents provided, and if it doesn't found the answer in them, try to find in its own internal knowledge"""
351
  }