Spaces:
Sleeping
Sleeping
Commit
·
c7c39d8
1
Parent(s):
10bb25e
bites
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def format_docs(docs):
|
|
56 |
|
57 |
|
58 |
def wrap_all(file, input_prompt:str):
|
59 |
-
loader = Docx2txtLoader(file
|
60 |
data = loader.load()
|
61 |
db = doc_to_embeddings(data)
|
62 |
retriever = db.as_retriever()
|
|
|
56 |
|
57 |
|
58 |
def wrap_all(file, input_prompt:str):
|
59 |
+
loader = Docx2txtLoader(file)
|
60 |
data = loader.load()
|
61 |
db = doc_to_embeddings(data)
|
62 |
retriever = db.as_retriever()
|