Spaces:
Paused
Paused
Update ingest.py
Browse files
ingest.py
CHANGED
@@ -10,6 +10,9 @@ from langchain.embeddings import HuggingFaceInstructEmbeddings
|
|
10 |
from langchain.text_splitter import Language, RecursiveCharacterTextSplitter
|
11 |
from langchain.vectorstores import Chroma
|
12 |
|
|
|
|
|
|
|
13 |
|
14 |
|
15 |
from constants import (
|
@@ -157,4 +160,7 @@ if __name__ == "__main__":
|
|
157 |
logging.basicConfig(
|
158 |
format="%(asctime)s - %(levelname)s - %(filename)s:%(lineno)s - %(message)s", level=logging.INFO
|
159 |
)
|
160 |
-
main()
|
|
|
|
|
|
|
|
10 |
from langchain.text_splitter import Language, RecursiveCharacterTextSplitter
|
11 |
from langchain.vectorstores import Chroma
|
12 |
|
13 |
+
import run_localGPT_API
|
14 |
+
from localGPTUI import localGPTUI
|
15 |
+
|
16 |
|
17 |
|
18 |
from constants import (
|
|
|
160 |
logging.basicConfig(
|
161 |
format="%(asctime)s - %(levelname)s - %(filename)s:%(lineno)s - %(message)s", level=logging.INFO
|
162 |
)
|
163 |
+
main()
|
164 |
+
run_localGPT_API.main()
|
165 |
+
localGPTUI.main()
|
166 |
+
|