LeoGitGuy
commited on
Commit
·
b78fccf
1
Parent(s):
ca6db82
reqs
Browse files- requirements.txt +2 -2
- setup_database.py +0 -1
requirements.txt
CHANGED
@@ -7,8 +7,8 @@ torch==1.11.*
|
|
7 |
transformers==4.*
|
8 |
uvicorn[standard]==0.17.*
|
9 |
grpcio==1.48.2
|
10 |
-
|
11 |
-
|
12 |
numpy
|
13 |
beautifulsoup4
|
14 |
|
|
|
7 |
transformers==4.*
|
8 |
uvicorn[standard]==0.17.*
|
9 |
grpcio==1.48.2
|
10 |
+
argparse
|
11 |
+
pickle
|
12 |
numpy
|
13 |
beautifulsoup4
|
14 |
|
setup_database.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
from haystack.document_stores import ElasticsearchDocumentStore
|
2 |
import os
|
3 |
import pickle
|
4 |
-
import os
|
5 |
|
6 |
def get_document_store(document_index):
|
7 |
host = os.environ.get("ELASTICSEARCH_HOST", "localhost")
|
|
|
1 |
from haystack.document_stores import ElasticsearchDocumentStore
|
2 |
import os
|
3 |
import pickle
|
|
|
4 |
|
5 |
def get_document_store(document_index):
|
6 |
host = os.environ.get("ELASTICSEARCH_HOST", "localhost")
|