datacipen commited on
Commit
24d5bb3
1 Parent(s): 3d40d3b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -1,9 +1,9 @@
1
  import os
2
  from typing import List
3
  from pathlib import Path
4
- from langchain_community.embeddings import HuggingFaceEmbeddings
5
- from langchain_community.llms import HuggingFaceEndpoint
6
-
7
  #from langchain_openai import ChatOpenAI, OpenAIEmbeddings
8
  from langchain.prompts import ChatPromptTemplate
9
  from langchain.schema import StrOutputParser
 
1
  import os
2
  from typing import List
3
  from pathlib import Path
4
+ from langchain_huggingface import HuggingFaceEmbeddings
5
+ #from langchain_community.llms import HuggingFaceEndpoint
6
+ from langchain_huggingface import HuggingFaceEndpoint
7
  #from langchain_openai import ChatOpenAI, OpenAIEmbeddings
8
  from langchain.prompts import ChatPromptTemplate
9
  from langchain.schema import StrOutputParser