WebashalarForML commited on
Commit
1508fcf
·
verified ·
1 Parent(s): f70e411

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,7 +6,8 @@ from langchain_community.vectorstores import Chroma
6
  import chromadb
7
  # from langchain.embeddings import HuggingFaceEmbeddings
8
  from langchain_community.embeddings import HuggingFaceEmbeddings
9
- from langchain.prompts import ChatPromptTemplate
 
10
  from langchain_core.prompts import PromptTemplate, ChatPromptTemplate
11
  from langchain_huggingface import HuggingFaceEndpoint
12
  from huggingface_hub import InferenceClient
 
6
  import chromadb
7
  # from langchain.embeddings import HuggingFaceEmbeddings
8
  from langchain_community.embeddings import HuggingFaceEmbeddings
9
+ # from langchain.prompts import ChatPromptTemplate
10
+ from langchain_core.prompts import ChatPromptTemplate
11
  from langchain_core.prompts import PromptTemplate, ChatPromptTemplate
12
  from langchain_huggingface import HuggingFaceEndpoint
13
  from huggingface_hub import InferenceClient