JBHF commited on
Commit
a9e0093
1 Parent(s): 490c7c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -107,7 +107,7 @@ for file in pdf_files:
107
  st.write("---------------------------------")
108
 
109
 
110
- start = time.process_time()
111
 
112
  if "vector" not in st.session_state:
113
 
@@ -253,7 +253,7 @@ if "vector" not in st.session_state:
253
  # st.session_state.vector = Chroma.from_documents(st.session_state.documents, st.session_state.embeddings) # JB
254
 
255
  # print(f"Response time: {time.process_time() - start}")
256
- st.write(f"Response time voor: Laden van de PDF documenten / Splitting de teksten / Genereer de Vector Store: {time.process_time() - start} seconds")
257
 
258
  st.write("---------------------------------")
259
 
 
107
  st.write("---------------------------------")
108
 
109
 
110
+ start1 = time.process_time()
111
 
112
  if "vector" not in st.session_state:
113
 
 
253
  # st.session_state.vector = Chroma.from_documents(st.session_state.documents, st.session_state.embeddings) # JB
254
 
255
  # print(f"Response time: {time.process_time() - start}")
256
+ st.write(f"Response time voor: Laden van de PDF documenten / Splitting de teksten / Genereer de Vector Store: {time.process_time() - start1} seconds")
257
 
258
  st.write("---------------------------------")
259