Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,7 @@ def embed_fn(inp):
|
|
26 |
out_emb= hf.embed_documents(documents)
|
27 |
string_representation = dumps(out_emb, pretty=True)
|
28 |
db.from_texts(documents)
|
|
|
29 |
def proc_doc(doc_in):
|
30 |
for doc in doc_in:
|
31 |
if doc.endswith(".txt"):
|
|
|
26 |
out_emb= hf.embed_documents(documents)
|
27 |
string_representation = dumps(out_emb, pretty=True)
|
28 |
db.from_texts(documents)
|
29 |
+
|
30 |
def proc_doc(doc_in):
|
31 |
for doc in doc_in:
|
32 |
if doc.endswith(".txt"):
|