Download code_interpreters/base_code_interpreter.py from Tachi67/InterpreterFlowModule: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/Tachi67/InterpreterFlowModule/resolve/3b6da15fa751186828609e2c258fd2cf985ecbfb/code_interpreters/base_code_interpreter.py
- Command line
-
hf download hf://Tachi67/InterpreterFlowModule@3b6da15fa751186828609e2c258fd2cf985ecbfb/code_interpreters/base_code_interpreter.py
-
curl -L -o base_code_interpreter.py https://huggingface.co/Tachi67/InterpreterFlowModule/resolve/3b6da15fa751186828609e2c258fd2cf985ecbfb/code_interpreters/base_code_interpreter.py
239 Bytes
| class BaseCodeInterpreter: | |
| """ | |
| .run is a generator that yields a dict with attributes: active_line, output | |
| """ | |
| def __init__(self): | |
| pass | |
| def run(self, code): | |
| pass | |
| def terminate(self): | |
| pass |