Download code_interpreters/base_code_interpreter.py from aiflows/InterpreterFlowModule: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/aiflows/InterpreterFlowModule/resolve/f5ba9f9afc5a4b5f9cc00ef80230b60bcc8bd9cc/code_interpreters/base_code_interpreter.py
- Command line
-
hf download hf://aiflows/InterpreterFlowModule@f5ba9f9afc5a4b5f9cc00ef80230b60bcc8bd9cc/code_interpreters/base_code_interpreter.py
-
curl -L -o base_code_interpreter.py https://huggingface.co/aiflows/InterpreterFlowModule/resolve/f5ba9f9afc5a4b5f9cc00ef80230b60bcc8bd9cc/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 |