Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,8 @@ from haystack.document_stores import InMemoryDocumentStore
|
|
| 2 |
from haystack.nodes import PromptNode, PromptTemplate, AnswerParser, BM25Retriever
|
| 3 |
from haystack.pipelines import Pipeline
|
| 4 |
from haystack.utils import print_answers
|
|
|
|
|
|
|
| 5 |
import os
|
| 6 |
from dotenv import load_dotenv
|
| 7 |
#load the dataset
|
|
|
|
| 2 |
from haystack.nodes import PromptNode, PromptTemplate, AnswerParser, BM25Retriever
|
| 3 |
from haystack.pipelines import Pipeline
|
| 4 |
from haystack.utils import print_answers
|
| 5 |
+
import chainlit as cl
|
| 6 |
+
from datasets import load_dataset
|
| 7 |
import os
|
| 8 |
from dotenv import load_dotenv
|
| 9 |
#load the dataset
|