Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ import pandas as pd
|
|
| 6 |
from typing import TypedDict, Optional, Annotated
|
| 7 |
from langchain_core.messages import AnyMessage
|
| 8 |
from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
class State(TypedDict):
|
|
|
|
| 6 |
from typing import TypedDict, Optional, Annotated
|
| 7 |
from langchain_core.messages import AnyMessage
|
| 8 |
from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
| 9 |
+
from langgraph.graph.message import add_messages
|
| 10 |
|
| 11 |
|
| 12 |
class State(TypedDict):
|