Download nodes/node1.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/node1.py
- Command line
-
hf download hf://spaces/abelenguerv/Final_Assignment_Template/nodes/node1.py
-
curl -L -o node1.py https://huggingface.co/spaces/abelenguerv/Final_Assignment_Template/resolve/main/nodes/node1.py
223 Bytes
| from states.state import State | |
| def node_1(state: State) -> State: | |
| # --- Node 1: Initialize State --- | |
| state.set_graph_state("node_1", "Node 1: State initialized.") | |
| state.log_node_end("node_1") | |
| return state | |