zakerytclarke commited on
Commit
0b0a8ef
·
verified ·
1 Parent(s): 54213f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -315,7 +315,7 @@ def main():
315
  if "documents_hash" not in st.session_state or st.session_state.documents_hash != new_documents_hash:
316
  with st.spinner('Loading Model and Embeddings...'):
317
  start_time = time.time()
318
- teapot_ai = TeapotAI(documents=documents or default_documents, settings=TeapotAISettings(rag_num_results=3))
319
  end_time = time.time()
320
  print(f"Model loaded in {end_time - start_time:.4f} seconds")
321
 
 
315
  if "documents_hash" not in st.session_state or st.session_state.documents_hash != new_documents_hash:
316
  with st.spinner('Loading Model and Embeddings...'):
317
  start_time = time.time()
318
+ teapot_ai = TeapotAI(documents=documents or default_documents, settings=TeapotAISettings(rag_num_results=3,log_level="debug"))
319
  end_time = time.time()
320
  print(f"Model loaded in {end_time - start_time:.4f} seconds")
321