Spaces:
Runtime error
Runtime error
shivanis14
commited on
Update app.py
Browse files
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
|