Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ llm = HuggingFaceEndpoint(
|
|
23 |
)
|
24 |
chat_model = ChatHuggingFace(llm=llm)
|
25 |
|
|
|
26 |
messages = [
|
27 |
SystemMessage(content="You are a helpful assistant."),
|
28 |
HumanMessage(content="Hi AI, how are you today?"),
|
|
|
23 |
)
|
24 |
chat_model = ChatHuggingFace(llm=llm)
|
25 |
|
26 |
+
global messages
|
27 |
messages = [
|
28 |
SystemMessage(content="You are a helpful assistant."),
|
29 |
HumanMessage(content="Hi AI, how are you today?"),
|