Spaces:
Paused
Paused
Update ingest.py
Browse files
ingest.py
CHANGED
@@ -4,7 +4,7 @@ from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor, as_compl
|
|
4 |
|
5 |
import click
|
6 |
import torch
|
7 |
-
import
|
8 |
|
9 |
from langchain.docstore.document import Document
|
10 |
from langchain.embeddings import HuggingFaceInstructEmbeddings
|
@@ -154,7 +154,7 @@ def main(device_type):
|
|
154 |
|
155 |
)
|
156 |
|
157 |
-
|
158 |
|
159 |
if __name__ == "__main__":
|
160 |
logging.basicConfig(
|
|
|
4 |
|
5 |
import click
|
6 |
import torch
|
7 |
+
import run_localGPT_API
|
8 |
|
9 |
from langchain.docstore.document import Document
|
10 |
from langchain.embeddings import HuggingFaceInstructEmbeddings
|
|
|
154 |
|
155 |
)
|
156 |
|
157 |
+
run_localGPT_API.main()
|
158 |
|
159 |
if __name__ == "__main__":
|
160 |
logging.basicConfig(
|