Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|