lfoppiano commited on
Commit
d520110
1 Parent(s): f8386bf

fix missing chunk size passed to the engine

Browse files
Files changed (1) hide show
  1. streamlit_app.py +1 -0
streamlit_app.py CHANGED
@@ -294,6 +294,7 @@ if uploaded_file and not st.session_state.loaded_embeddings:
294
  st.session_state['binary'] = binary
295
 
296
  st.session_state['doc_id'] = hash = st.session_state['rqa'][model].create_memory_embeddings(tmp_file.name,
 
297
  perc_overlap=0.1)
298
  st.session_state['loaded_embeddings'] = True
299
  st.session_state.messages = []
 
294
  st.session_state['binary'] = binary
295
 
296
  st.session_state['doc_id'] = hash = st.session_state['rqa'][model].create_memory_embeddings(tmp_file.name,
297
+ chunk_size=chunk_size,
298
  perc_overlap=0.1)
299
  st.session_state['loaded_embeddings'] = True
300
  st.session_state.messages = []