Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -75,7 +75,7 @@ else:
|
|
| 75 |
):
|
| 76 |
process_pdf() # Extract text from PDF
|
| 77 |
|
| 78 |
-
with st.spinner("Extracting information from the text. This can take up to
|
| 79 |
client, embedding_func = initialize_chromadb(EMBEDDING_MODEL, model_path)
|
| 80 |
whole_text_collection = initialize_collection(client, embedding_func, "whole_text_chunks")
|
| 81 |
update_collection(
|
|
|
|
| 75 |
):
|
| 76 |
process_pdf() # Extract text from PDF
|
| 77 |
|
| 78 |
+
with st.spinner("Extracting information from the text. This can take up to 1 minute."):
|
| 79 |
client, embedding_func = initialize_chromadb(EMBEDDING_MODEL, model_path)
|
| 80 |
whole_text_collection = initialize_collection(client, embedding_func, "whole_text_chunks")
|
| 81 |
update_collection(
|