Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,6 @@ llm = HuggingFaceLLM(
|
|
47 |
# uncomment this if using CUDA to reduce memory usage
|
48 |
model_kwargs={"torch_dtype": torch.float16 , "load_in_8bit":True})
|
49 |
|
50 |
-
pip install llama_index
|
51 |
|
52 |
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
|
53 |
from llama_index.embeddings.langchain import LangchainEmbedding
|
|
|
47 |
# uncomment this if using CUDA to reduce memory usage
|
48 |
model_kwargs={"torch_dtype": torch.float16 , "load_in_8bit":True})
|
49 |
|
|
|
50 |
|
51 |
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
|
52 |
from llama_index.embeddings.langchain import LangchainEmbedding
|