HTAR5 commited on
Commit
68e412e
·
verified ·
1 Parent(s): 0bd42ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 llama_index.legacy.embeddings.langchain import LangchainEmbedding
 
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