Update app.py
Browse files
app.py
CHANGED
@@ -252,8 +252,9 @@ if "vector" not in st.session_state:
|
|
252 |
# Chroma.from_documents(documents=chunks, embedding=FastEmbedEmbeddings())
|
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 |
|
|
|
252 |
# Chroma.from_documents(documents=chunks, embedding=FastEmbedEmbeddings())
|
253 |
# st.session_state.vector = Chroma.from_documents(st.session_state.documents, st.session_state.embeddings) # JB
|
254 |
|
255 |
+
# st.write(f"Response time van de LLM: {elapsed_time:.1f} seconds")
|
256 |
# print(f"Response time: {time.process_time() - start}")
|
257 |
+
st.write(f"Response time voor: Laden van de PDF documenten / Splitting de teksten / Genereer de Vector Store: {(time.process_time() - start1).1f} seconds")
|
258 |
|
259 |
st.write("---------------------------------")
|
260 |
|