LeoGitGuy commited on
Commit
def095c
·
1 Parent(s): bc4b39d

in memory doc store

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -8,8 +8,7 @@ app = FastAPI()
8
  document_index = "document"
9
  document_store = get_in_memory_document_store(document_index)
10
  filenames = ["processed_website_tables","processed_website_text","processed_schedule_tables"]
11
-
12
- document_store, data = add_data
13
  document_store, retriever = create_retriever(document_store)
14
  text_reader_type = text_reader_types['deberta-large']
15
  table_reader_type = table_reader_types['tapas']
 
8
  document_index = "document"
9
  document_store = get_in_memory_document_store(document_index)
10
  filenames = ["processed_website_tables","processed_website_text","processed_schedule_tables"]
11
+ document_store, data = add_data(filenames, document_store, document_index)
 
12
  document_store, retriever = create_retriever(document_store)
13
  text_reader_type = text_reader_types['deberta-large']
14
  table_reader_type = table_reader_types['tapas']