KvrParaskevi
commited on
Update model.py
Browse files
model.py
CHANGED
@@ -6,6 +6,7 @@ from langchain.chains import LLMChain, ConversationChain
|
|
6 |
from langchain_community.llms.huggingface_pipeline import HuggingFacePipeline
|
7 |
from langchain_community.llms import HuggingFaceEndpoint
|
8 |
from langchain.prompts import PromptTemplate, ChatPromptTemplate
|
|
|
9 |
import streamlit as st
|
10 |
|
11 |
your_endpoint_url = "https://kp4xdy196cw81uf3.us-east-1.aws.endpoints.huggingface.cloud"
|
|
|
6 |
from langchain_community.llms.huggingface_pipeline import HuggingFacePipeline
|
7 |
from langchain_community.llms import HuggingFaceEndpoint
|
8 |
from langchain.prompts import PromptTemplate, ChatPromptTemplate
|
9 |
+
from langchain_core.prompts.chat import SystemMessagePromptTemplate, HumanMessagePromptTemplate
|
10 |
import streamlit as st
|
11 |
|
12 |
your_endpoint_url = "https://kp4xdy196cw81uf3.us-east-1.aws.endpoints.huggingface.cloud"
|