Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,6 @@ 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 ctransformers import AutoModelForCausalLM
|
15 |
import torch
|
16 |
|
17 |
#from langchain.llms import huggingface_endpoint
|
|
|
11 |
from langchain_community.llms import huggingface_hub
|
12 |
from langchain.document_loaders.pdf import PyMuPDFLoader
|
13 |
#from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
14 |
import torch
|
15 |
|
16 |
#from langchain.llms import huggingface_endpoint
|