Spaces:
Build error
Build error
Download nodes/Node.py from AIProdAndInnov/ReWOO-Demo: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/AIProdAndInnov/ReWOO-Demo/resolve/main/nodes/Node.py
- Command line
-
hf download hf://spaces/AIProdAndInnov/ReWOO-Demo/nodes/Node.py
-
curl -L -o Node.py https://huggingface.co/spaces/AIProdAndInnov/ReWOO-Demo/resolve/main/nodes/Node.py
277 Bytes
| # Basic Node to be inherited from. | |
| class Node: | |
| def __init__(self, name, input_type, output_type): | |
| self.name = name | |
| self.input_type = input_type | |
| self.output_type = output_type | |
| def run (self, input, log=False): | |
| raise NotImplementedError | |