datacipen commited on
Commit
3d40d3b
1 Parent(s): ef91042

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -1,3 +1,4 @@
 
1
  from typing import List
2
  from pathlib import Path
3
  from langchain_community.embeddings import HuggingFaceEmbeddings
@@ -10,7 +11,8 @@ from langchain_community.document_loaders import (
10
  PyMuPDFLoader,
11
  )
12
  from langchain.text_splitter import RecursiveCharacterTextSplitter
13
- from langchain.vectorstores.chroma import Chroma
 
14
  from langchain.indexes import SQLRecordManager, index
15
  from langchain.schema import Document
16
  from langchain.schema.runnable import Runnable, RunnablePassthrough, RunnableConfig
 
1
+ import os
2
  from typing import List
3
  from pathlib import Path
4
  from langchain_community.embeddings import HuggingFaceEmbeddings
 
11
  PyMuPDFLoader,
12
  )
13
  from langchain.text_splitter import RecursiveCharacterTextSplitter
14
+ from langchain_community.vectorstores import Chroma
15
+
16
  from langchain.indexes import SQLRecordManager, index
17
  from langchain.schema import Document
18
  from langchain.schema.runnable import Runnable, RunnablePassthrough, RunnableConfig