Download nodes/node2.py from abelenguerv/Final_Assignment_Template: direct link, hf CLI and curl.
- Browser
- Download file 223 Bytes
-
https://huggingface.co/spaces/abelenguerv/Final_Assignment_Template/resolve/main/nodes/node2.py
- Command line
-
hf download hf://spaces/abelenguerv/Final_Assignment_Template/nodes/node2.py
-
curl -L -o node2.py https://huggingface.co/spaces/abelenguerv/Final_Assignment_Template/resolve/main/nodes/node2.py
223 Bytes
| from states.state import State | |
| def node_2(state: State) -> State: | |
| # --- Node 2: Initialize State --- | |
| state.set_graph_state("node_2", "Node 2: State initialized.") | |
| state.log_node_end("node_2") | |
| return state | |