Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,7 @@ from langchain.chains.question_answering import load_qa_chain
|
|
11 |
from langchain_community.llms import huggingface_hub
|
12 |
from langchain.document_loaders.pdf import PyMuPDFLoader
|
13 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
14 |
#from langchain.llms import huggingface_endpoint
|
15 |
import os
|
16 |
#import fitz
|
|
|
11 |
from langchain_community.llms import huggingface_hub
|
12 |
from langchain.document_loaders.pdf import PyMuPDFLoader
|
13 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
14 |
+
from langchain_core.vectorstores import VectorStoreRetriever
|
15 |
#from langchain.llms import huggingface_endpoint
|
16 |
import os
|
17 |
#import fitz
|