Spaces:
Sleeping
Sleeping
KrishnaKumar23
commited on
Commit
•
028692e
1
Parent(s):
c10370c
initial commit
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def index_document(uploaded_file):
|
|
23 |
file_name = os.path.join(assets_folder, uploaded_file.name)
|
24 |
st.success(f"File '{file_name}' uploaded !")
|
25 |
|
26 |
-
with st.spinner("Indexing document... This is a free CPU version and may take a while⏳"):
|
27 |
llm_model.create_vector_db(file_name, instructor_embeddings)
|
28 |
|
29 |
return file_name
|
|
|
23 |
file_name = os.path.join(assets_folder, uploaded_file.name)
|
24 |
st.success(f"File '{file_name}' uploaded !")
|
25 |
|
26 |
+
with st.spinner("Indexing document... This is a free CPU version and may take a while ⏳"):
|
27 |
llm_model.create_vector_db(file_name, instructor_embeddings)
|
28 |
|
29 |
return file_name
|