Update app.py
Browse files
app.py
CHANGED
|
@@ -2,10 +2,10 @@ from llama_cpp import Llama
|
|
| 2 |
import streamlit as st
|
| 3 |
from langchain.llms.base import LLM
|
| 4 |
#from llama_index.embeddings import LangchainEmbedding
|
| 5 |
-
from
|
|
|
|
| 6 |
from llama_index.core import PromptHelper
|
| 7 |
from typing import Optional, List, Mapping, Any
|
| 8 |
-
from langchain.embeddings import HuggingFaceEmbeddings
|
| 9 |
import pandas as pd
|
| 10 |
|
| 11 |
# Set the page config as the first command
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
from langchain.llms.base import LLM
|
| 4 |
#from llama_index.embeddings import LangchainEmbedding
|
| 5 |
+
from langchain.embeddings import HuggingFaceEmbeddings
|
| 6 |
+
from llama_index.embeddings.langchain import LangchainEmbedding
|
| 7 |
from llama_index.core import PromptHelper
|
| 8 |
from typing import Optional, List, Mapping, Any
|
|
|
|
| 9 |
import pandas as pd
|
| 10 |
|
| 11 |
# Set the page config as the first command
|