Spaces:
Runtime error
Runtime error
Update scripts/process.py
Browse files- scripts/process.py +1 -0
scripts/process.py
CHANGED
@@ -7,6 +7,7 @@ from haystack.schema import Answer
|
|
7 |
from haystack.document_stores import InMemoryDocumentStore
|
8 |
from haystack.pipelines import ExtractiveQAPipeline
|
9 |
from haystack.nodes import FARMReader, TfidfRetriever
|
|
|
10 |
from haystack.schema import Document
|
11 |
import logging
|
12 |
from markdown import markdown
|
|
|
7 |
from haystack.document_stores import InMemoryDocumentStore
|
8 |
from haystack.pipelines import ExtractiveQAPipeline
|
9 |
from haystack.nodes import FARMReader, TfidfRetriever
|
10 |
+
from haystack.nodes.file_converter import PDFToTextConverter, TextConverter
|
11 |
from haystack.schema import Document
|
12 |
import logging
|
13 |
from markdown import markdown
|