RuaZhou commited on
Commit
2ea5d5c
·
verified ·
1 Parent(s): 9d41a19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -51,7 +51,8 @@ from langgraph.graph.message import add_messages
51
  class AgentState(TypedDict):
52
  # The input document
53
  messages: Annotated[list[AnyMessage], add_messages]
54
-
 
55
  from langchain_core.messages import HumanMessage, SystemMessage
56
 
57
  # from langchain_core.tools import tool # non necessary with toolNode
 
51
  class AgentState(TypedDict):
52
  # The input document
53
  messages: Annotated[list[AnyMessage], add_messages]
54
+ input_file: Optional[str] # Contains file path, type (PNG)
55
+
56
  from langchain_core.messages import HumanMessage, SystemMessage
57
 
58
  # from langchain_core.tools import tool # non necessary with toolNode