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/08994de63be35516e1a3de1638a1aa240b139f31/code_interpreters/base_code_interpreter.py
- Command line
-
hf download hf://Tachi67/InterpreterFlowModule@08994de63be35516e1a3de1638a1aa240b139f31/code_interpreters/base_code_interpreter.py
-
curl -L -o base_code_interpreter.py https://huggingface.co/Tachi67/InterpreterFlowModule/resolve/08994de63be35516e1a3de1638a1aa240b139f31/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 |