shivanis14 commited on
Commit
43f54a5
·
verified ·
1 Parent(s): f8902a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@
3
  #https://github.com/ArjunAranetaCodes/Python-DataScience-AI/blob/main/Chain-LitChat-Mistral7b/app.py
4
  from langchain_openai import ChatOpenAI
5
  from langchain.chains import LLMChain
6
- from langchain_community.llms import HuggingFaceEndpoint
 
7
  from prompts import maths_assistant_prompt_template
8
  from langchain.memory.buffer import ConversationBufferMemory
9
  from dotenv import load_dotenv
 
3
  #https://github.com/ArjunAranetaCodes/Python-DataScience-AI/blob/main/Chain-LitChat-Mistral7b/app.py
4
  from langchain_openai import ChatOpenAI
5
  from langchain.chains import LLMChain
6
+ #from langchain_community.llms import HuggingFaceEndpoint
7
+ from langchain_huggingface import HuggingFaceEndpoint
8
  from prompts import maths_assistant_prompt_template
9
  from langchain.memory.buffer import ConversationBufferMemory
10
  from dotenv import load_dotenv