Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from haystack.nodes import FARMReader, PreProcessor, PDFToTextConverter, TfidfRetriever
|
3 |
from haystack.document_stores import InMemoryDocumentStore
|
4 |
from haystack.pipelines import ExtractiveQAPipeline
|
|
|
5 |
|
6 |
document_store = InMemoryDocumentStore()
|
7 |
model = "Saturdays/mdeberta-v3-base-squad2_refugees_dataset_finetuned"
|
|
|
2 |
from haystack.nodes import FARMReader, PreProcessor, PDFToTextConverter, TfidfRetriever
|
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"
|