Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ for file in pdf_files:
|
|
107 |
st.write("---------------------------------")
|
108 |
|
109 |
|
110 |
-
|
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() -
|
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 |
|