updated
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def embed_and_store(password, collection_name, file_type, file_fields, context,p
|
|
| 15 |
file_fields = context
|
| 16 |
vector_db = VectorDataBase(file_fields, collection_name, file_type, page_start=page_start)
|
| 17 |
vector_db.embedding_with_loop()
|
| 18 |
-
return file_fields,
|
| 19 |
else:
|
| 20 |
raise Exception('Something went wrong')
|
| 21 |
def update_interface(file_type):
|
|
|
|
| 15 |
file_fields = context
|
| 16 |
vector_db = VectorDataBase(file_fields, collection_name, file_type, page_start=page_start)
|
| 17 |
vector_db.embedding_with_loop()
|
| 18 |
+
return file_fields,context
|
| 19 |
else:
|
| 20 |
raise Exception('Something went wrong')
|
| 21 |
def update_interface(file_type):
|