tree3po commited on
Commit
f784a51
·
verified ·
1 Parent(s): a1035dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"):