Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ from haystack.pipelines import ExtractiveQAPipeline
|
|
6 |
from sentence_transformers import CrossEncoder, SentenceTransformer
|
7 |
|
8 |
document_store = InMemoryDocumentStore()
|
9 |
-
model = "Saturdays/mdeberta-v3-base-squad2_refugees_dataset_finetuned"
|
|
|
10 |
reader = FARMReader(model_name_or_path=model)
|
11 |
preprocessor = PreProcessor(
|
12 |
clean_empty_lines=True,
|
|
|
6 |
from sentence_transformers import CrossEncoder, SentenceTransformer
|
7 |
|
8 |
document_store = InMemoryDocumentStore()
|
9 |
+
#model = "Saturdays/mdeberta-v3-base-squad2_refugees_dataset_finetuned"
|
10 |
+
model= "openai/clip-vit-base-patch32"
|
11 |
reader = FARMReader(model_name_or_path=model)
|
12 |
preprocessor = PreProcessor(
|
13 |
clean_empty_lines=True,
|