Jai12345 commited on
Commit
109e195
1 Parent(s): afc7ab9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -41,10 +41,10 @@ def tutorial1_basic_qa_pipeline():
41
  # You can start Elasticsearch on your local machine instance using Docker. If Docker is not readily available in
42
  # your environment (e.g. in Colab notebooks), then you can manually download and execute Elasticsearch from source.
43
 
44
- launch_es()
 
 
45
 
46
- # Connect to Elasticsearch
47
- document_store = ElasticsearchDocumentStore(host="localhost", username="", password="", index="document")
48
 
49
  # ## Preprocessing of documents
50
  #
41
  # You can start Elasticsearch on your local machine instance using Docker. If Docker is not readily available in
42
  # your environment (e.g. in Colab notebooks), then you can manually download and execute Elasticsearch from source.
43
 
44
+ from haystack.document_stores import InMemoryDocumentStore
45
+
46
+ document_store = InMemoryDocumentStore()
47
 
 
 
48
 
49
  # ## Preprocessing of documents
50
  #