Antonio49 commited on
Commit
7f509d1
1 Parent(s): 8cc74da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ from haystack.nodes import FARMReader, PreProcessor, PDFToTextConverter, TfidfRe
3
  from haystack.document_stores import InMemoryDocumentStore
4
  from haystack.pipelines import ExtractiveQAPipeline
5
  #from torch import
 
6
 
7
  document_store = InMemoryDocumentStore()
8
  model = "Saturdays/mdeberta-v3-base-squad2_refugees_dataset_finetuned"
 
3
  from haystack.document_stores import InMemoryDocumentStore
4
  from haystack.pipelines import ExtractiveQAPipeline
5
  #from torch import
6
+ from sentence_transformers import CrossEncoder, SentenceTransformer
7
 
8
  document_store = InMemoryDocumentStore()
9
  model = "Saturdays/mdeberta-v3-base-squad2_refugees_dataset_finetuned"